Type alias AccidentInfo

AccidentInfo: {
    accidentId: string;
    confidence: ZendriveAccidentConfidence;
    driveId: string;
    location: LocationPoint;
    sessionId?: string;
    timestampMillis: number;
    trackingId?: string;
}

Information about an accident detected by the Zendrive SDK.

Type declaration

  • accidentId: string

    A unique identifier of this accident.

  • confidence: ZendriveAccidentConfidence

    Confidence measure of the detected accident.

  • driveId: string

    An identifier for the drive during which the accident occured.

  • location: LocationPoint

    The location of the accident.

  • Optional sessionId?: string

    Session id is specified by the enclosing application when it wants to record a session. See [[Zendrive.startSession]]

  • timestampMillis: number

    The timestamp of the accident in milliseconds since epoch.

  • Optional trackingId?: string

    Tracking id is specified by the enclosing application when it wants to start a drive manually. See [[Zendrive.startDrive]]