public class RouteStep
extends java.lang.Object
implements java.io.Serializable
Represents a portion of a route.
Constructor and Description |
---|
RouteStep() |
Modifier and Type | Method and Description |
---|---|
static RouteStep |
fromJSONObject(org.json.JSONObject json,
EditorKey appKey) |
float |
getDistance() |
float |
getHeading() |
java.lang.String |
getIcon() |
java.lang.String |
getInstructions() |
EditorKey |
getMapKey() |
java.lang.String |
getNotice() |
float[] |
getPathPoints() |
android.graphics.RectF |
getPathRect() |
int |
getPathSegmentCount() |
float |
getUpdatingDistance() |
void |
setUpdatingDistance(float distanceInMeters) |
public static RouteStep fromJSONObject(org.json.JSONObject json, EditorKey appKey) throws org.json.JSONException
org.json.JSONException
public float getHeading()
public android.graphics.RectF getPathRect()
public int getPathSegmentCount()
public java.lang.String getInstructions()
public java.lang.String getIcon()
public java.lang.String getNotice()
public EditorKey getMapKey()
public float[] getPathPoints()
public float getDistance()
public void setUpdatingDistance(float distanceInMeters)
public float getUpdatingDistance()