Active Drive Info
Information about the currently ongoing drive recorded by the Fairmatic SDK. The drive may have started manually by the application or due to Fairmatic auto drive detection.
Properties
The current location of the vehicle. May be null if we don't have a reliable current location of the vehicle.
The current speed of the vehicle in meters/second. May be -1 if we don't have a reliable current speed of the vehicle.
The distance traversed so far in this drive in meters.
An identifier for this drive that was recorded. This identifier is unique for a particular FairmaticConfiguration.driverId with which the SDK is initialized. After the trip ends and is uploaded to Fairmatic server, this id can be used as the "trip_id" to query information about a trip from the Fairmatic Analytics API.
The insurance period in which the drive was detected. This will be null if there is no insurance period associated with this drive.
The start timestamp of the drive in milliseconds since epoch.
Tracking id is optionally specified by the enclosing application when it wants to start a drive manually. This will be null if no tracking id was specified.