RouteRequest

class RouteRequest : Parcelable

Constructors

RouteRequest
Link copied to clipboard
fun RouteRequest(evProfile: EVProfile, evPreferences: EVPreferences? = null)
RouteRequest
Link copied to clipboard
fun RouteRequest(aetrProfile: AETRProfile)
RouteRequest
Link copied to clipboard
fun RouteRequest(guidedRouteProfile: GuidedRouteProfile)
RouteRequest
Link copied to clipboard
fun RouteRequest()

Types

Companion
Link copied to clipboard
object Companion

Functions

addViaPoint
Link copied to clipboard
fun addViaPoint(viaPoint: Waypoint, index: Int = -1)

Adds a via point to the route request.

fun addViaPoint(geoCoordinates: GeoCoordinates, customName: String? = null, index: Int = -1)

Adds a GeoCoordinates as a via point to the route request.

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
getViaPoints
Link copied to clipboard
fun getViaPoints(): List<Waypoint>
removeAllViaPoints
Link copied to clipboard
fun removeAllViaPoints()
removeViaPointAtIndex
Link copied to clipboard
fun removeViaPointAtIndex(index: Int)
setDestination
Link copied to clipboard
fun setDestination(geoCoordinates: GeoCoordinates, customName: String? = null)
setStart
Link copied to clipboard
fun setStart(geoCoordinates: GeoCoordinates, customName: String? = null)
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

aetrProfile
Link copied to clipboard
val aetrProfile: AETRProfile? = null
destination
Link copied to clipboard
var destination: Waypoint? = null
evPreferences
Link copied to clipboard
val evPreferences: EVPreferences? = null
evProfile
Link copied to clipboard
val evProfile: EVProfile? = null
guidedRouteProfile
Link copied to clipboard
val guidedRouteProfile: GuidedRouteProfile? = null
routingOptions
Link copied to clipboard
var routingOptions: RoutingOptions
start
Link copied to clipboard
var start: Waypoint? = null