public class DirectionsRequest
extends java.lang.Object
DirectionsManager
.
Use the DirectionsRequest.Builder
to create an instance. Instances are immutable.
Modifier and Type | Class and Description |
---|---|
static class |
DirectionsRequest.AccessibilityMode
The accessibility mode used to calculate a route
|
static class |
DirectionsRequest.Builder
DirectionsRequest builder static inner class. |
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
static DirectionsRequest.AccessibilityMode |
DEFAULT_ACCESSIBILITY_MODE |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
DirectionsRequest.AccessibilityMode |
getAccessibilityMode()
Returns the
DirectionsRequest.AccessibilityMode of the route |
Angle |
getBearingFrom()
Returns the user's bearing in the starting point.
|
Point |
getFrom()
Returns the point where the route should start.
|
Point |
getTo()
Returns the point where the route should end.
|
int |
hashCode() |
boolean |
isAccessible()
Deprecated.
|
boolean |
minimizeFloorChanges()
Returns if the route will be calculated minimizing the floor changes
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final DirectionsRequest.AccessibilityMode DEFAULT_ACCESSIBILITY_MODE
public static final <any> CREATOR
public Point getFrom()
Point
point inside a building (Point.isIndoor()
== true)public Angle getBearingFrom()
Angle
public Point getTo()
Point
point inside a building (Point.isIndoor()
== true)@Deprecated public boolean isAccessible()
public DirectionsRequest.AccessibilityMode getAccessibilityMode()
DirectionsRequest.AccessibilityMode
of the routeDirectionsRequest.AccessibilityMode
public boolean minimizeFloorChanges()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel dest, int flags)