public class ZendriveVehicleTaggingDetails extends Object implements Parcelable
These details are provided for drives that are tagged by a vehicle. For a given vehicle,
both bluetooth car stereo and beacon can be used to tag with the same vehicleId
.
In case a drive is tagged using both bluetooth car stereo and beacon having different
associated vehicleIds, the bluetooth car stereo vehicleId supersedes the beacon vehicleId.
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ZendriveVehicleTaggingDetails> |
CREATOR |
boolean |
isTaggedByBeacon
This flag determines if vehicle is tagged using beacon
|
boolean |
isTaggedByBluetoothStereo
This flag determines if vehicle is tagged using bluetooth stereo
|
String |
vehicleId
The vehicleId of the tagged vehicle
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
protected |
ZendriveVehicleTaggingDetails(Parcel in) |
|
ZendriveVehicleTaggingDetails(String vehicleId,
boolean isTaggedByBeacon,
boolean isTaggedByBluetoothStereo) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public String vehicleId
public boolean isTaggedByBeacon
public boolean isTaggedByBluetoothStereo
public static final Parcelable.Creator<ZendriveVehicleTaggingDetails> CREATOR
public ZendriveVehicleTaggingDetails(String vehicleId, boolean isTaggedByBeacon, boolean isTaggedByBluetoothStereo)
protected ZendriveVehicleTaggingDetails(Parcel in)
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public int describeContents()
describeContents
in interface Parcelable