Route

class Route

Represents a route option during navigation. Contains route information including identification, name, distance, and estimated time.

Parameters

id

Unique identifier for the route

distanceMeters

Total route distance in meters

etaMinutes

Estimated time of arrival in minutes

stateOfCharge

State of charge percentage at the end destination point (for EV routes)

index

The 0-based index of this route in the underlying routes list (where 0 indicates the primary/selected route); null when not applicable (e.g. single-route queries via getRoute)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
val index: Int? = null
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String