public static enum DriveInfo.Warning extends Enum<DriveInfo.Warning> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
UnexpectedTripDuration
The trip duration is unexpectedly large and signifies a possible integration issue.
|
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<DriveInfo.Warning> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static DriveInfo.Warning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriveInfo.Warning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(Parcel parcel,
int i) |
public static final DriveInfo.Warning UnexpectedTripDuration
public static final Parcelable.Creator<DriveInfo.Warning> CREATOR
public static DriveInfo.Warning[] values()
for (DriveInfo.Warning c : DriveInfo.Warning.values()) System.out.println(c);
public static DriveInfo.Warning valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel parcel, int i)
writeToParcel
in interface Parcelable