SITLocationInterface
@protocol SITLocationInterface <NSObject>
General interface every object providing location should conform to.
-
Provides APIs for requesting users current location.
Declaration
Objective-C
- (void)requestLocationUpdates:(SITLocationRequest *_Nonnull)request;
Parameters
request
SITLocationRequest object
-
State of the shared instance.
Declaration
Objective-C
- (SITLocationState)state;
Return Value
SITLocationState value that indicates the actual state of the system
-
Stops the delivery of location updates.
Note
This method has no efect if the system is not running.Declaration
Objective-C
- (void)removeUpdates;