DriveStartInfo

Information about a drive that was just started in the Fairmatic SDK. The drive may have started manually by the application or due to Fairmatic auto drive detection.

Properties

Link copied to clipboard

An identifier for this drive that was resumed. This identifier is unique for a particular FairmaticConfiguration.driverId with which the SDK is initialized.

Link copied to clipboard

The insurance period in which the drive was detected. This will be null if there is no insurance period associated with this drive.

Link copied to clipboard

Session id is specified by the enclosing application when it wants to com.fairmatic.sdk.Fairmatic.startSession. This will be null if there is no session associated with this drive.

Link copied to clipboard

The start location of the drive. If the drive is automatically detected by Fairmatic SDK, then this location is approximate and close to the start location but not the exact location where the vehicle started the drive.

Link copied to clipboard

The start timestamp of the drive in milliseconds since epoch.

Link copied to clipboard

Tracking id is specified by the enclosing application when it wants to com.fairmatic.sdk.Fairmatic.startDrive manually. This will be null if no tracking id was specified.