NavigationSettings
@objc(MBNavigationSettings)
public class NavigationSettings : NSObject
NavigationSettings
provides a wrapper for UserDefaults.
Properties are prefixed and before they are stored in UserDefaults.standard.
-
The volume that the voice controller will use.
This volume is relative to the system’s volume where 1.0 is same volume as the system.
Declaration
Swift
@objc public dynamic var voiceVolume: Float
-
Specifies whether to mute the voice controller or not.
Declaration
Swift
@objc public dynamic var voiceMuted: Bool
-
Specifies the preferred distance measurement unit.
Note
Anything butkilometer
andmile
will fall back to the default measurement for the current locale. Meters and feets will be used when the presented distances are small enough. SeeDistanceFormatter
for more information.Declaration
Swift
@objc public dynamic var distanceUnit: LengthFormatter.Unit