startNavigation

fun startNavigation(directionsRoute: DirectionsRoute)

Calling This begins a new navigation session using the provided directions route. this API is also intended to be used when a reroute occurs passing in the updated directions route.

On initial start of the navigation session, the navigation services gets created and bound to your activity. Unless disabled, a notification will be displayed to the user and will remain until the service stops running in the background.

Since

0.1.0

Parameters

directionsRoute

a DirectionsRoute that makes up the path your user should traverse along