MMKSpeedLimitsPolicy
@interface MMKSpeedLimitsPolicy : NSObject |
Undocumented
Summary
Instance methods
- (nonnull MMKNavigationSpeedLimits *)customSpeedLimitsWithToleranceRatio: |
Properties
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
Instance methods
customSpeedLimitsWithToleranceRatio:
- (nonnull MMKNavigationSpeedLimits *)customSpeedLimitsWithToleranceRatio: |
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) |
For example for Russia 60/90/110 km/h
speedLimitsRules
@property (nonatomic, readonly, nonnull) |
Undocumented