SpeedingData

@objc(ZDSpeedingData)
public class SpeedingData : NSObject

A valid object of this class is returned in Event.speedingData whenever Event.eventType is equal to EventType.overSpeeding.

  • The speed limit in metres per second.

    Declaration

    Swift

    @objc
    public var speedLimitMPS: Double
  • The average speed of the user during this speeding event duration in metres per second.

    Declaration

    Swift

    @objc
    public var userSpeedMPS: Double
  • Maximum speed of the user during this speeding event duration in metres per second.

    Declaration

    Swift

    @objc
    public var maxUserSpeedMPS: Double