EventRatings

@objc(ZDEventRatings)
public class EventRatings : NSObject

Represents ratings associated with the various event types for a trip. Higher rating for an event represents safe driving behaviour with respect to that event. For cases where rating is absent, StarRating.NA is reported.

See also

StarRating
  • Represents rating associated with phone handling behavior while driving.

    Declaration

    Swift

    public private(set) var phoneHandlingRating: StarRating
  • Represents rating associated with hard braking while driving.

    Declaration

    Swift

    public private(set) var hardBrakeRating: StarRating
  • Represents rating associated with hard turning while driving.

    Declaration

    Swift

    public private(set) var hardTurnRating: StarRating
  • Represents rating associated with speeding while driving.

    Declaration

    Swift

    public private(set) var speedingRating: StarRating
  • Represents rating associated with aggressively accelerating while driving.

    Declaration

    Swift

    public private(set) var aggressiveAccelerationRating: StarRating