SITRealTimeInterface

Objective-C

@protocol SITRealTimeInterface <NSObject>

Swift

protocol SITRealTimeInterface : NSObjectProtocol

Generic interface to control realtime operations

  • Provides a method for requesting users location in real time

    Declaration

    Objective-C

    - (void)requestRealTimeUpdates:(SITRealTimeRequest *_Nonnull)request;

    Swift

    func requestRealTimeUpdates(_ request: SITRealTimeRequest)

    Parameters

    request

    SITRealTimeRequest object

  • Stops delivering realtime location updates of the users

    Declaration

    Objective-C

    - (void)removeRealTimeUpdates;

    Swift

    func removeRealTimeUpdates()