YMKLocationManagerUtils

@interface YMKLocationManagerUtils : NSObject

Summary

Class methods

+ (nullable YMKLocation *)lastKnownLocation;

+ (BOOL)isPredictionSpoofingCleanerEnabled;
Returns the current value of the process-wide setting for prediction-based GNSS spoofing filtering

+ (void)setPredictionSpoofingCleanerEnabledWithEnabled:(BOOL)enabled;
Enables or disables prediction-based GNSS spoofing filtering

Class methods

lastKnownLocation

+ (nullable YMKLocation *)lastKnownLocation;


isPredictionSpoofingCleanerEnabled

+ (BOOL)isPredictionSpoofingCleanerEnabled;

Returns the current value of the process-wide setting for prediction-based GNSS spoofing filtering. The setting is true by default.


setPredictionSpoofingCleanerEnabledWithEnabled:

+ (void)setPredictionSpoofingCleanerEnabledWithEnabled:(BOOL)enabled;

Enables or disables prediction-based GNSS spoofing filtering. The filtering is enabled by default. This process-wide setting takes effect immediately for active location subscriptions.

Parameters

enabled

True to enable filtering; false to disable it. True by default.