TNDriveMotionSettings
@objcMembers
public class TNDriveMotionSettings : NSObject
Setting information for Drive Motion SDK
-
Connection mode
Declaration
Swift
public let connectionMode: TNConnectionMode -
Drive detection mode enum, see{@link TNDriveDetectionMode}
Declaration
Swift
public let driveDetectionMode: TNDriveDetectionMode -
Delegate of DriveMotion, see{@link TNDriveMotionDelegate}
Declaration
Swift
public let delegate: TNDriveMotionDelegate? -
Delegate of DriveMotion alert, see{@link TNDriveMotionAlertDelegate}
Declaration
Swift
public let alertDelegate: TNDriveMotionAlertDelegate? -
Set logger settings if you want use your custom path and prefixes for
*.logfiles from SDK see{@link TNLoggerSettings}Declaration
Swift
public let loggerSettings: TNLoggerSettings? -
Is enable background mode in DataCollector. Default is true for enabled.
Declaration
Swift
public let runInBackgroundMode: Bool -
Permission requirements for tracking and collecting trip analytics data. False by default.
Declaration
Swift
public let optInRequired: Bool -
Undocumented
Declaration
Swift
public let userAlias: String -
Undocumented
Declaration
Swift
public let userState: String -
Permissions requirements for exchange used device id to new one generated by SDK. False by default.
Declaration
Swift
public let isDeviceGuidOverrodeByForce: Bool -
Permissions requirements for using external userId instead of telematicsUseId. False by default.
Declaration
Swift
public let isExternalUserIdUsedByForce: Bool -
Mark this device is use native GPS or external GPS
Declaration
Swift
public let isUseExternalGPS: Bool -
configures the edge matcher enable
Declaration
Swift
public let isEdgeMatcherEnabled: Bool -
Configures whether realtime coaching score calculation for DriveMotion SDK. False by default..
Declaration
Swift
public let enableLiveTripScoring: Bool -
Control detection spcifical events or not, see{@link TNEdgeEventDetectMode}, ‘all’ by default
Declaration
Swift
public let edgeEventDetectMode: TNEdgeEventDetectMode -
Configures the query type for analytics APIs. Default is “USER_BASED”
Declaration
Swift
public let analyticsQueryMode: AnalyticsQueryMode -
Configures the data retention period for DriveMotion SDKs. Default is “oneYear”.
Declaration
Swift
public let dataRetentionPeriod: TNDataRetentionPeriod -
Delegate of DriveMotion monitor, see{@link TNDriveMotionMonitorDelegate}
Declaration
Swift
public let monitorDelegate: TNDriveMotionMonitorDelegate? -
Delegate of DriveMotion configurations, see{@link TNDriveMotionConfigDelegate}
Declaration
Swift
public let configDelegate: TNDriveMotionConfigDelegate? -
Configures whether MapMatching is enabled for locations. False by default..
Declaration
Swift
public let enableMapMatchingGPS: Bool -
Undocumented
Declaration
Swift
public static func builder() -> TNDriveMotionSettingsBuilder