SITLocationManager

Objective-C

@interface SITLocationManager : NSObject <SITLocationInterface>

Swift

class SITLocationManager : NSObject, SITLocationInterface

SITLocationManager The SITLocationManager class is the central point for configuring the delivery of location- and headind related events to your app. You use the shared instance of this class to establish the parameters that determine when location and heading events should be delivered and to start and stop the actual delivery of those events.

Set the desired delegates to listen for location updates.

Note

This class needs bluetooth information to do its work. In case bluetooth access is off, or permissions are denied, an error will be returned to the delegate. It can be thrown at the initial checking or at any moment during the positioning.

Initializers

  • Singleton instance

    Note

    You should always use this method to obtain the manager object and should not try to create instances directly

    Declaration

    Objective-C

    + (instancetype _Nonnull)sharedInstance;

    Swift

    class func sharedInstance() -> Self

    Return Value

    An initialized object

Methods