public abstract class Waypoint extends Object implements Parcelable
LatLng
coordinates object, and additional information.Modifier and Type | Class and Description |
---|---|
static class |
Waypoint.Builder
Builder class to build Waypoint objects.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
static Waypoint.Builder |
builder(LatLng location)
Builds a new Waypoint object
|
static Waypoint |
create(LatLng location)
Creates a new Waypoint object with the given location
|
abstract Address |
getAddress()
Optional address of the waypoint.
|
abstract String |
getDescription()
Sets the free text description of the waypoint.
|
abstract LatLng |
getLocation()
Location of the waypoint.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract LatLng getLocation()
public abstract Address getAddress()
public abstract String getDescription()
public static Waypoint create(LatLng location)
location
- location of the waypointpublic static Waypoint.Builder builder(LatLng location)
Waypoint
object