MMKSpeedLimitsPolicy

@interface MMKSpeedLimitsPolicy : NSObject

Undocumented

Summary

Instance methods

- (nonnull MMKNavigationSpeedLimits *)customSpeedLimitsWithToleranceRatio:
    (double)toleranceRatio;

For example ratio = 0

Properties

@property (nonatomic, readonly, nonnull)
    MMKNavigationSpeedLimits *legalSpeedLimits;

For example for Russia 60/90/110 km/h

@property (nonatomic, readonly, nonnull)
    MMKNavigationSpeedLimitsRules *speedLimitsRules;

Undocumented

Instance methods

customSpeedLimitsWithToleranceRatio:

- (nonnull MMKNavigationSpeedLimits *)customSpeedLimitsWithToleranceRatio:
    (double)toleranceRatio;

For example ratio = 0.8 and current speed limit is 60 km/h - for Russia: enforcement tolerance is 20 km/h for all speed limits => we should start warning the user when current speed > 60 + 20 * 0.8 = 76 km/h - for Turkey: enforcement tolerance is 10 percent over the speed limit => we should start warning the user when current speed > 60 + 60 * 0.1 * 0.8 = 64.8 km/h


Properties

legalSpeedLimits

@property (nonatomic, readonly, nonnull)
    MMKNavigationSpeedLimits *legalSpeedLimits;

For example for Russia 60/90/110 km/h


speedLimitsRules

@property (nonatomic, readonly, nonnull)
    MMKNavigationSpeedLimitsRules *speedLimitsRules;

Undocumented