public class ZendriveEventRatings extends Object implements Parcelable
event types
for a trip.
Higher rating for an event represents safe driving behaviour with respect to that event. For
cases where rating is absent, ZendriveStarRating.NOT_AVAILABLE
is reported.ZendriveStarRating
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
ZendriveStarRating |
aggressiveAccelerationRating |
static Parcelable.Creator<ZendriveEventRatings> |
CREATOR |
ZendriveStarRating |
hardBrakeRating |
ZendriveStarRating |
hardTurnRating |
ZendriveStarRating |
phoneHandlingRating |
ZendriveStarRating |
speedingRating |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ZendriveEventRatings() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public ZendriveStarRating aggressiveAccelerationRating
public ZendriveStarRating hardBrakeRating
public ZendriveStarRating speedingRating
public ZendriveStarRating hardTurnRating
public ZendriveStarRating phoneHandlingRating
public static final Parcelable.Creator<ZendriveEventRatings> CREATOR
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public int describeContents()
describeContents
in interface Parcelable