TNDriveScore
@objcMembers
public class TNDriveScore : NSObject, Codable
Score class of DriveMotion SDK.
-
Safety score(range: 0 - 100).
Declaration
Swift
public let score: Int
-
Undocumented
Declaration
Swift
public let safetyScore: Int
-
Undocumented
Declaration
Swift
public let scoreType: TNScoreType
-
Undocumented
Declaration
Swift
public let scoreVersion: String?
-
Undocumented
Declaration
Swift
public let scoreFactors: [ScoreFactor]?
-
Undocumented
Declaration
Swift
public let scoreDetail: ScoreDetail?
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public init(score: Int, scoreVersion: String? = nil, scoreType: TNScoreType? = nil, scoreDetail: ScoreDetail? = nil, scoreFactors: [ScoreFactor]? = nil)