RouteProgress

class RouteProgress : Parcelable

Class containing information about navigation route.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

distanceToEnd
Link copied to clipboard
val distanceToEnd: Int

Driving distance from current position to route end

progress
Link copied to clipboard
@get:FloatRange(from = 0.0, to = 1.0)
val progress: Float

Route progress

timeToEnd
Link copied to clipboard
val timeToEnd: Int

Route duration to end without traffic and speed profiles

timeToEndWithSpeedProfileAndTraffic
Link copied to clipboard
val timeToEndWithSpeedProfileAndTraffic: Int

Route duration to end with current traffic

timeToEndWithSpeedProfiles
Link copied to clipboard
val timeToEndWithSpeedProfiles: Int

Route duration to end with speed profiles

toEndBoundingBox
Link copied to clipboard
val toEndBoundingBox: GeoBoundingBox

Geographic bounding box of route polyline from current position to end position

transportMode
Link copied to clipboard
val transportMode: Int

Transport mode currently using on the route

waypointTimes
Link copied to clipboard
val waypointTimes: List<WaypointDuration>

Waypoint durations from current position last item represents finish waypoint with durations from now to end