setDateTime

abstract fun setDateTime(date: Int, isDeparture: Boolean)

Sets either the departure time or the arrival time

Only use this method if the departure time is not the current one

See also

<a href="https://developers.google.com/maps/documentation/directions/intro#RequestParameters">departure_time and arrival_time</a>

Parameters

date

The epoch time, in seconds, as an integer

isDeparture

True to set the departure_time, false to set the arrival_time