BucketEventStatistic
@available(*, deprecated, message: "This edge-side API will be removed in future versions. Use cloud APIs instead.")
@objcMembers
public class BucketEventStatistic : NSObject, Codable
Event statistics for a specific bucket
-
Event type HardAcceleration/HardBrake/SharpTurn/Speeding/DriverDistraction
Declaration
Swift
public let eventType: String? -
The total count of this event type.
Declaration
Swift
public let count: Int -
distance (meters) of event
Declaration
Swift
public let distance: Double -
duration (seconds) of event
Declaration
Swift
public let duration: Double -
Undocumented
Declaration
Swift
public init( eventType: String? = nil, count: Int = 0, distance: Double = 0, duration: Double = 0 ) -
Declaration
Swift
public required init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws