public static class GuidanceManeuverView.State
extends java.lang.Object
implements android.os.Parcelable
Note - to compare the different states, please use equals(Object)
method.
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<GuidanceManeuverView.State> |
CREATOR |
static GuidanceManeuverView.State |
NO_DATA
Represents the default state of the view without maneuver data.
|
static GuidanceManeuverView.State |
UPDATING
Represents a loading state where the view is awaiting maneuver data.
|
Modifier | Constructor and Description |
---|---|
|
State(GuidanceManeuverData data)
Represents a state where the view contains maneuver data.
|
protected |
State(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object var1) |
GuidanceManeuverData |
getData()
Gets the
GuidanceManeuverData state used to populate the view. |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final GuidanceManeuverView.State NO_DATA
public static final GuidanceManeuverView.State UPDATING
public static final android.os.Parcelable.Creator<GuidanceManeuverView.State> CREATOR
public State(@NonNull GuidanceManeuverData data)
data
- GuidanceManeuverData
to populate the view.protected State(android.os.Parcel in)
public GuidanceManeuverData getData()
GuidanceManeuverData
state used to populate the view.GuidanceManeuverData
.public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
@NonNull public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object var1)
equals
in class java.lang.Object