Type alias ActiveDriveInfo

ActiveDriveInfo: {
    currentLocation: LocationPoint;
    currentSpeed: number;
    distanceMeters: number;
    driveId: string;
    insurancePeriod: ZendriveInsurancePeriod;
    sessionId: string;
    startTimeMillis: number;
    trackingId: string;
}

Information about the currently ongoing drive recorded by the Zendrive SDK. The drive may have started manually by the application or due to Zendrive auto drive detection.

Type declaration

  • currentLocation: LocationPoint

    The current location of the vehicle.

  • currentSpeed: number

    The current speed of the vehicle in meters/second.

  • distanceMeters: number

    The distance traversed so far in this drive in meters.

  • driveId: string

    An identifier for this drive that was recorded.

  • insurancePeriod: ZendriveInsurancePeriod

    The insurance period in which the drive was detected.

  • sessionId: string

    Session id is optionally specified by the enclosing application when it wants to record a session.

  • startTimeMillis: number

    The start timestamp of the drive in milliseconds since epoch.

  • trackingId: string

    Tracking id is optionally specified by the enclosing application when it wants to start a drive manually.