public class DirectionsRequest extends Object implements android.os.Parcelable
DirectionsManager
.
Use the DirectionsRequest.Builder
to create an instance. Instances are immutable.
Modifier and Type | Class and Description |
---|---|
static class |
DirectionsRequest.Builder
DirectionsRequest builder static inner class. |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<DirectionsRequest> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
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()
Returns whether the route has to be suitable for wheel chairs (true) or not (false)
|
String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<DirectionsRequest> 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)public boolean isAccessible()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable