YMKLocationSubscriptionSettings
|
class YMKLocationSubscriptionSettings : NSObject |
Summary
Class methods
|
init(useInBackground: YMKLocationUseInBackground, purpose: YMKPurpose) |
Properties
|
var useInBackground: YMKLocationUseInBackground { get } |
|
var purpose: YMKPurpose { get } |
Class methods
init(useInBackground:purpose:)
|
init(useInBackground: YMKLocationUseInBackground, purpose: YMKPurpose) |
Properties
useInBackground
|
var useInBackground: YMKLocationUseInBackground { get } |
If UseInBackground is Allow then the 'location' flag must be set in 'UIBackgroundModes' of the application.
purpose
|
var purpose: YMKPurpose { get } |
Defines for what purpose the locations from the subscription will be used. Depending on the purpose, it tries to optimize requests for locations.