MMKLocationSubscriptionSettings
|
@interface MMKLocationSubscriptionSettings : NSObject |
Summary
Class methods
|
+ (nonnull MMKLocationSubscriptionSettings *)subscriptionSettingsWithUseInBackground:( MMKLocationUseInBackground)useInBackground |
Properties
|
@property (nonatomic, readonly) MMKLocationUseInBackground useInBackground; |
|
@property (nonatomic, readonly) MMKPurpose purpose; |
Class methods
subscriptionSettingsWithUseInBackground:purpose:
|
+ (nonnull MMKLocationSubscriptionSettings *)subscriptionSettingsWithUseInBackground:( MMKLocationUseInBackground)useInBackground |
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.