YMKLocationSubscriptionSettings

class YMKLocationSubscriptionSettings : NSObject

Summary

Class methods

 init(useInBackground: YMKLocationUseInBackground, purpose: YMKPurpose)

Properties

var useInBackgroundYMKLocationUseInBackground { get }
If UseInBackground is Allow then the 'location' flag must be set in 'UIBackgroundModes' of the application

var purposeYMKPurpose { get }
Defines for what purpose the locations from the subscription will be used

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.