SKLocationConfiguration Class Reference

Inherits from SKConfiguration : NSObject
Conforms to NSCopying
Declared in SKLocationConfiguration.h

Overview

An instance of SKLocationConfiguration can be used to configure the Location sensor.

  locationAccuracy

Accuracy of the Location sensor, expressed as an SKLocationAccuracy enumerator.

@property (nonatomic) SKLocationAccuracy locationAccuracy

Declared In

SKLocationConfiguration.h

  locationAuthorization

Authrorization of the Location sensor, expressed as an SKLocationAuthorization enumerator. Value can either be When In Use (indicating that sensor will only be active while the app runs in the foreground) or Always (allowing the sensor to be active even when the app runs in the background).

@property (nonatomic) SKLocationAuthorization locationAuthorization

Declared In

SKLocationConfiguration.h

  distanceFilter

The minimum distance in meters that the device needs to move horizontally before the SKSensorDataHandler attached with an SKLocationData object is being called.

@property (nonatomic) double distanceFilter

Declared In

SKLocationConfiguration.h