SITRealTimeDelegate

@protocol SITRealTimeDelegate <NSObject>

Generic interface that provides information about the location of the users in Real Time

  • Delegate method that provides information of the user

    Declaration

    Objective-C

    - (void)realTimeManager:(id<SITRealTimeInterface> _Nonnull)realTimeManager
        didUpdateUserLocations:(SITRealTimeData *_Nonnull)realTimeData;

    Parameters

    realTimeManager

    manager object

    realTimeData

    encapsulate object with locations of the users

  • Delegate method that informs an internal error happends while requesting information

    Declaration

    Objective-C

    - (void)realTimeManager:(id<SITRealTimeInterface> _Nonnull)realTimeManager
           didFailWithError:(NSError *_Nonnull)error;

    Parameters

    realTimeManager

    manager object

    error

    error object