SITRealTimeData

Objective-C

@interface SITRealTimeData : NSObject

Swift

class SITRealTimeData : NSObject

A data object that provides information about the location of users in real time

Properties

  • Array of locations at the moment.

    Note

    Note that each SITLocation object contains a SITLocation#deviceId property that enables to update locations from the same user.

    Note

    If the phone asking for realtime updates is being located, it will be included on the SITRealTimeData#locations array. You can discard it by filtering by deviceId. The deviceId of the own phone is available at SITServices

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<SITLocation *> *_Nonnull locations;

    Swift

    var locations: [SITLocation] { get set }