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
abstract fun describeContents(): Int
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.Working together with the navigable position, the original position is used by the Sygic SDK for determining the side of street during arrival, and to let the calculated route approach the correct side of street, especially when there there is a physical or logical lane divider on the road.
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.This position is selected by SDK and represents best access point to waypoint - this may be also waypoint position itself in case selected road is accessible by selected vehicle type.
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 returntrue.
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p: Parcel, p1: Int)
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