ContextualCoachingStandoutsMetrics
@objcMembers
public class ContextualCoachingStandoutsMetrics : NSObject, Codable
Undocumented
-
Map of contextual coaching factor buckets to their corresponding trips. Each bucket contains a list of basic trip information that contributed to the standout metrics.
Note: This property is populated when the calculation is based on trips. In this case, roadBucketStatistic will be empty.
Declaration
Swift
public let trips: [ContextualCoachingFactorBucket : [TNBasicTrip]] -
Map of contextual coaching factor buckets to their road bucket statistics. Provides detailed statistics about driving behavior on different road types within each factor bucket.
Note: This property is populated when the calculation is based on RoadType. In this case, trips will be empty.
Declaration
Swift
public let roadBucketStatistic: [ContextualCoachingFactorBucket : RoadBucketStatistic] -
The aggregate score impact value indicating how much these standouts affect the overall driving score. Positive values typically indicate negative impact, while negative values indicate positive impact. Note: This property is populated when the calculation is based on trips. In this case, roadBucketStatistic will be empty.
Declaration
Swift
public let aggregateScoreImpacted: Int -
Undocumented
Declaration
Swift
public init( trips: [ContextualCoachingFactorBucket: [TNBasicTrip]] = [:], roadBucketStatistic: [ContextualCoachingFactorBucket: RoadBucketStatistic] = [:], aggregateScoreImpacted: Int = 0 ) -
Declaration
Swift
required public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws