public class Instruction
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Instruction> |
CREATOR |
Constructor and Description |
---|
Instruction(java.lang.String instruction,
double position,
Maneuver.Type maneuverType,
float distanceToManeuver) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
float |
getDistanceToManeuver() |
java.lang.String |
getInstruction() |
Maneuver.Type |
getManeuverType() |
double |
getPosition() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Instruction> CREATOR
public Instruction(java.lang.String instruction, double position, Maneuver.Type maneuverType, float distanceToManeuver)
public java.lang.String getInstruction()
public double getPosition()
public Maneuver.Type getManeuverType()
public float getDistanceToManeuver()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable