TNAggregatedScore
@objcMembers
public class TNAggregatedScore : NSObject, Codable
Aggregation of scores within a time range
-
The value of aggregated score (see {@link TNDriveScore}).
Declaration
Swift
public let score: TNDriveScore
-
Statistics for all aggregated trips.
Declaration
Swift
public let tripsInfo: TNTripsInfo
-
If the interval type is used, it is the aggregate score of all intervals in the time range. Otherwise it is nil. For example: if the time range is from August 5th to September 17th and the interval type is set to MONTH (30 days), then intervalScores will contain two {@link TNIntervalScore} instances. The first {@link TNIntervalScore} instance is the aggregate score from August 5 to September 3, and the second is the aggregate score from September 4 to September 17.
Declaration
Swift
public let intervalScores: [TNIntervalScore]?
-
number of events by event type for all trips.
Declaration
Swift
public let tripsEventStatistics: [TNEventStatistic]?
-
Undocumented
Declaration
Swift
public init(score: TNDriveScore, tripsInfo: TNTripsInfo, intervalScores: [TNIntervalScore]? = nil, tripsEventStatistics: [TNEventStatistic]? = nil)