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

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

Functions

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

Properties

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

Inheritors

ChargingWaypoint
Link copied to clipboard