fetchETAs

suspend fun fetchETAs(startPoint: RouteSearchPoint, finishPoint: RouteSearchPoint, transportModes: List<TransportMode>): Map<TransportMode, Duration?>

Fetches ETA durations for the specified transport modes.

Return

A map of TransportMode to Duration (nullable if request fails)

Parameters

startPoint

The start point of the route

finishPoint

The finish point of the route

transportModes

The transport modes to get ETAs for