Type alias ZendriveEvent

ZendriveEvent: {
    endLocation: LocationPoint;
    endTimestampMillis: number;
    eventType: ZendriveEventType;
    severity: ZendriveEventSeverity;
    speedingInfo?: SpeedingInfo;
    startLocation: LocationPoint;
    startTimestampMillis: number;
    turnDirection: ZendriveTurnDirection;
}

Represents an interesting event detected by Zendrive during a drive. Events like speeding, phone use can span a time duration and start a particular location and end at another location. Events like hard braking and rapid acceleration are instantaneous. The start and end timestamps and the start and end locations for instantaneous events are the same.

Type declaration

  • endLocation: LocationPoint

    The end location of the event.

  • endTimestampMillis: number

    The end timestamp of the event in millisecs since epoch.

  • eventType: ZendriveEventType

    The type of event.

  • severity: ZendriveEventSeverity

    Indicates the severity of this event.

  • Optional speedingInfo?: SpeedingInfo

    Extra information for a Speeding event.

  • startLocation: LocationPoint

    The start location of the event.

  • startTimestampMillis: number

    The start timestamp of the event in millisecs since epoch.

  • turnDirection: ZendriveTurnDirection

    Indicates the turn direction of this event.