TripBucketSummary

@available(*, deprecated, message: "This edge-side API will be removed in future versions. Use cloud APIs instead.")
@objcMembers
public class TripBucketSummary : NSObject, Codable

Contains trip-based information for contextual coaching statistics

  • List of basic trip information that falls within this factor bucket. Contains the raw trip data used to calculate the metrics.

    Declaration

    Swift

    public let trips: [TNBasicTrip]
  • The overall driving score for this factor bucket. Represents the aggregated performance across all trips in this context.

    Declaration

    Swift

    public let score: TNDriveScore
  • Total number of trips included in this factor bucket. Represents the sample size for the calculated metrics.

    Declaration

    Swift

    public let totalTrips: Int
  • Total distance covered across all trips in this factor bucket, measured in miles. Provides context for the scope of driving behavior analyzed.

    Declaration

    Swift

    public let totalMiles: Double
  • Undocumented

    Declaration

    Swift

    public init(
        trips: [TNBasicTrip],
        score: TNDriveScore,
        totalTrips: Int,
        totalMiles: Double
    )