MNSettingUtils
@objc
public class MNSettingUtils : NSObject
Encapsulates innformation regarding environmental settings
-
Declaration
Swift
@objc public static let shared: MNSettingUtils
-
Declaration
Swift
public enum Key : String
-
Declaration
Swift
public enum DistanceUnit : String
-
Declaration
Swift
public var navUseShortestRoute: Bool { get set }
-
Declaration
Swift
public var mercatorZone_Userpath: [MNMercatorZone]?
-
Declaration
Swift
public var simulatorSpeedModifier: Double?
-
Declaration
Swift
public var startTutorial: Bool { get set }
-
Declaration
Swift
public var navOptionsEscalators: Bool { get set }
-
Declaration
Swift
public var navOptionsStairs: Bool { get set }
-
Declaration
Swift
public var navOptionsElevators: Bool { get set }
-
Declaration
Swift
public var clearAll: Bool { get set }
-
What the preferred distance unit is for the user.
Declaration
Swift
public var preferredDistanceUnit: DistanceUnit { get }
-
Distance units - In Meters versus Feet
Declaration
Swift
public var distanceUnits: String { get set }
-
Time format. Default is 12 hour (AM/PM). Alternative is 24 hours
Declaration
Swift
public var timeFormat: Bool { get set }
-
Declaration
Swift
public var dynamicErrorBoundaryEnabled: Bool { get set }
-
Declaration
Swift
public var redDotForOutdoorsOnPropertyEnabled: Bool { get set }
-
Declaration
Swift
public var redDotForOutdoorsOffPremiseEnabled: Bool { get set }
-
Declaration
Swift
public var prefrredTimeFormatSpecifier: String { get }
-
Declaration
Swift
public var preferredTimeFormat: Int { get }
-
Declaration
Swift
@objc public var findAFriendIsEnabled: Bool { get }
-
Declaration
Swift
@objc public var postLiveLocationEnabled: Bool { get set }
-
Declaration
Swift
@objc public var postAnalyticsOnMobileDataEnabled: Bool { get set }
-
Declaration
Swift
@objc public var AllowOffPremiseBackgroundLocationScanning: Bool { get set }
-
Declaration
Swift
@objc public var enableBluetoothAdHocScanning: Bool { get set }
-
Declaration
Swift
@objc public var autoRequestLocationPermissions: Bool { get set }
-
Declaration
Swift
public var debugShowPropertyBoundary: Bool { get }
-
Declaration
Swift
public var debugFeaturesPromotions: Bool { get }
-
Declaration
Swift
public var debugTestEnvironment: Bool { get set }
-
Declaration
Swift
public var debugStageEnvironment: Bool { get set }
-
Declaration
Swift
public var isCMSStagingEnvModeEnabled: Bool { get set }
-
Declaration
Swift
public var debugTestingBuildingEnvironment: Bool { get set }
-
Declaration
Swift
@objc public var debugTestModuleEnable: Bool { get }
-
Declaration
Swift
@objc public var debugReadFileAsIOS: Bool { get }
-
Declaration
Swift
@objc public var debugTestFileIOSEncoding: Bool { get }
-
Declaration
Swift
@objc public var debugDrawTrajectory: Bool { get }
-
Declaration
Swift
public var debugTechnicalDifficultyAlert: Bool { get set }
-
Declaration
Swift
public var debugShowHamburgerMenu: Bool { get set }
-
Declaration
Swift
@objc public var enableLocationServices: Bool { get set }
-
Declaration
Swift
@objc public var filterPropertiesByLocale: Bool { get set }
-
Declaration
Swift
public enum Environment
-
Changes the value ‘value’ of a setting at key ‘key’
Declaration
Swift
public func changeValues(value: Any, key: String)
Parameters
key
The string that serves as the retrieval key
value
The new value to be associated with that key
-
Declaration
Swift
public static func setEnvironment(_ environment: Environment)
-
Declaration
Swift
public static func setVLog(_ isEnabled: Bool)
-
Declaration
Swift
public static func setWtfAbort(_ isEnabled: Bool)
-
Declaration
Swift
public static func enableFindAFriend(_ isEnabled: Bool)
-
Declaration
Swift
public func setLocationSimulationDetails(speed: Float, Userpath: [MNMercatorZone], CompletedBlock: ((Bool) -> Void))