public class EstimatedDriveInfo extends DriveInfo
The drive may have started manually by the application or due to Zendrive auto drive detection.
This is available with ZendriveBroadcastReceiver.onDriveEnd(android.content.Context, com.zendrive.sdk.EstimatedDriveInfo)
callback.
When ZendriveDriveType
is not equal to ZendriveDriveType.INVALID
, the info
provided in this object will be superceded by AnalyzedDriveInfo
provided via the
ZendriveBroadcastReceiver.onDriveAnalyzed(android.content.Context, com.zendrive.sdk.AnalyzedDriveInfo)
callback for the same DriveInfo.driveId
. The application should save the info provided here and update it when the
ZendriveBroadcastReceiver.onDriveAnalyzed(android.content.Context, com.zendrive.sdk.AnalyzedDriveInfo)
callback is invoked.
DriveInfo.Warning
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<EstimatedDriveInfo> |
CREATOR |
averageSpeed, distanceMeters, driveId, driveType, endTimeMillis, eventRatings, events, extrapolationDetails, insurancePeriod, maxSpeed, phonePosition, score, sessionId, startTimeMillis, trackingId, userMode, vehicleTaggingDetails, vehicleType, warnings, waypoints
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
EstimatedDriveInfo() |
public static final Parcelable.Creator<EstimatedDriveInfo> CREATOR