arrivalTime property

DateTime? arrivalTime
getter/setter pair

Optional time when travel is expected to end. Traffic speed and incidents shall be taken into account in the calculation of the route, per RouteOptions.trafficOptimizationMode. By default, the time is not set. If the time is not set, the current time will be used internally, to predict the arrival time. Therefore, by default, a time-aware route request is initiated including traffic.

Note:

  • Both RouteOptions.departureTime and arrival time cannot be set at the same time.
  • This parameter is handled as local time. Therefore, it is necessary to specify the time zone offset when setting the time in areas with different time zones, i.e. 2025-02-04T08:00:00+07:00

Implementation

DateTime? arrivalTime;