YMKLocationSubscriptionSettings

@interface YMKLocationSubscriptionSettings : NSObject

Summary

Class methods

+ (nonnull YMKLocationSubscriptionSettings *)subscriptionSettingsWithUseInBackground:( YMKLocationUseInBackground)useInBackground
                                                                             purpose:( YMKPurpose)purpose;

Properties

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

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

Class methods

subscriptionSettingsWithUseInBackground:purpose:

+ (nonnull YMKLocationSubscriptionSettings *)subscriptionSettingsWithUseInBackground:( YMKLocationUseInBackground)useInBackground
                                                                             purpose:( YMKPurpose)purpose;


Properties

useInBackground

@property (nonatomic, readonly) YMKLocationUseInBackground useInBackground;

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


purpose

@property (nonatomic, readonly) YMKPurpose purpose;

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


Предыдущая
Следующая