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