MMKLocationSubscriptionSettings

@interface MMKLocationSubscriptionSettings : NSObject

Undocumented

Summary

Class methods

+ (nonnull MMKLocationSubscriptionSettings *)subscriptionSettingsWithUseInBackground:( MMKLocationUseInBackground)useInBackground
                                                                             purpose:( MMKPurpose)purpose;

Properties

@property (nonatomic, readonly) MMKLocationUseInBackground useInBackground;
If UseInBackground is Allow then the 'location' flag must be set in 'UIBackgroundModes' of the application

@property (nonatomic, readonly) MMKPurpose purpose;
Defines for what purpose the locations from the subscription will be used

Class methods

subscriptionSettingsWithUseInBackground:purpose:

+ (nonnull MMKLocationSubscriptionSettings *)subscriptionSettingsWithUseInBackground:( MMKLocationUseInBackground)useInBackground
                                                                             purpose:( MMKPurpose)purpose;


Properties

useInBackground

@property (nonatomic, readonly) MMKLocationUseInBackground useInBackground;

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


purpose

@property (nonatomic, readonly) MMKPurpose purpose;

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