SITRealTimeManager
Objective-C
@interface SITRealTimeManager : NSObject <SITRealTimeInterface>
Swift
class SITRealTimeManager : NSObject, SITRealTimeInterface
Central point for accessing the location of the users in real time
-
Call this method to receive a reference to an initialized object of this class
Note
You should not try to initialized multiple objects of this class using alloc:initDeclaration
Objective-C
+ (instancetype _Nonnull)sharedManager;
Swift
class func shared() -> Self
Return Value
shared manager object
-
Delegate property to receive callbacks
Declaration
Objective-C
@property (nonatomic) id<SITRealTimeDelegate> _Nullable delegate;
Swift
unowned(unsafe) var delegate: SITRealTimeDelegate? { get set }
-
Rate at which information will be refreshed (in seconds)
Note
Check SITRealTimeRequest to know minimun and maximum values of this parameterDeclaration
Objective-C
- (NSInteger)updateInterval;
Swift
func updateInterval() -> Int