Waypoint

open class Waypoint : BaseNativeParcelable

Waypoints define a route's stopovers, including its start point it's destination point and any points in between.

Types

Link copied to clipboard
annotation class Status
Link copied to clipboard
annotation class Type

Functions

Link copied to clipboard
open fun describeContents(): Int
For documentation, see android.os.Parcelable.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getDelay(): Long
Returns the time spent at waypoint.
Link copied to clipboard
open fun getDistanceFromStart(): Int
Returns the waypoint's distance from the start position
Link copied to clipboard
open fun getMappedPositions(): List<GeoCoordinates>
List of GeoCoordinatess which represets accessible positions of waypoint.
Link copied to clipboard
open fun getNavigablePosition(): GeoCoordinates
Represents the suggested navigable position of the Waypoint - typically the coordinates on the road closest to the original position - to be used in a route calculation.
Link copied to clipboard
open fun getOriginalPosition(): GeoCoordinates
Returns the original position for flag/pin.
Link copied to clipboard
open fun getPayload(): String
Returns custom name of the waypoint.
Link copied to clipboard
open fun getSelectedPosition(): GeoCoordinates
Represents the selected position of the Waypoint - one of the access points of waypoint.
Link copied to clipboard
open fun getStatus(): Int
Returns the waypoint Status.
Link copied to clipboard
open fun getType(): Int
Returns the waypoint Type.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isValidParcelable(): Boolean
If object after recreate from parcel contains all of reference like original object method return true.
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)
For documentation, see android.os.Parcelable.

Properties

Link copied to clipboard
val CREATOR: Parcelable.Creator<Waypoint>

Inheritors

Link copied to clipboard