ActiveRouteInformationService

Provides information about an active route (e.g., traffic delay, estimated time of arrival).

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val eta: ZonedDateTime?

Estimated time of arrival at the destination. null only if routeStatus equals RouteStatus.INACTIVE.

Link copied to clipboard

Remaining distance until the destination. null only if routeStatus equals RouteStatus.INACTIVE.

Link copied to clipboard

Remaining time before arrival at the destination. This duration excludes any traffic delay which can be retrieved using remainingTrafficDelay.

Link copied to clipboard

Remaining traffic delay. null only if routeStatus equals RouteStatus.INACTIVE.

Link copied to clipboard
abstract val routeStatus: RouteStatus

Status of the route.

Link copied to clipboard
abstract val totalTravelTime: Duration?

Total travel time needed to reach the destination. This is from the moment routeStatus is RouteStatus.ACTIVE until routeStatus becomes RouteStatus.ARRIVED.