MMKLocationSubscriptionSettings

class MMKLocationSubscriptionSettings : NSObject

Undocumented

Summary

Class methods

 init(useInBackground: MMKLocationUseInBackground, purpose: MMKPurpose)

Properties

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

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

Class methods

init(useInBackground:purpose:)

 init(useInBackground: MMKLocationUseInBackground, purpose: MMKPurpose)


Properties

useInBackground

var useInBackground: MMKLocationUseInBackground { get }

If UseInBackground is Allow then the 'location' flag must be set in 'UIBackgroundModes' of the application.


purpose

var purpose: MMKPurpose { get }

Defines for what purpose the locations from the subscription will be used. Depending on the purpose, it tries to optimize requests for locations.