| java.lang.Object | |
| ↳ | com.steerpath.sdk.directions.Waypoint |
Waypoint is a point or place on a route.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final Creator | CREATOR | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Waypoint(Location location)
Default constructor.
| |||||||||||
|
Waypoint(Location location, String name)
Constructor.
| |||||||||||
|
Waypoint(MetaFeature feature)
Construct Waypoint by Feature.
| |||||||||||
| Waypoint(Parcel in) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | describeContents() | ||||||||||
| int |
getId()
Retrieve user id.
| ||||||||||
| Location |
getLocation()
Retrieve Location.
| ||||||||||
| String |
getName()
Retrieve name.
| ||||||||||
| void |
setId(int id)
Sets user id.
| ||||||||||
| String | toString() | ||||||||||
| void | writeToParcel(Parcel dest, int flags) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
Default constructor. Name is empty string.
Constructor.
| name | user visible String that appears on DirectionSheet |
|---|
Retrieve user id.
Retrieve Location.
Retrieve name.
Sets user id. Default id is 0.