public interface NavigationStartStopListener
Modifier and Type | Method and Description |
---|---|
void |
onNavigationStarted()
Called once navigation has begun.
|
void |
onNavigationStopped(RouteStoppedReason routeStoppedReason)
Called when navigation ends for the current route, and provides the reason it has ended.
|
void onNavigationStarted()
void onNavigationStopped(RouteStoppedReason routeStoppedReason)
If navigation has ended normally (i.e. the destination has been reached), the reason parameter
will have the value RouteStoppedReason.ROUTE_COMPLETED
.
If a navigation session is cancelled using NavigationManager.cancelNavigation()
,
this method will be called with a reason of RouteStoppedReason.ROUTE_CANCELED
.