public class OffRouteDetector extends OffRoute
Constructor and Description |
---|
OffRouteDetector() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUserOffRoute(Location location,
RouteProgress routeProgress,
MapboxNavigationOptions options) |
boolean |
isUserOffRouteWith(com.mapbox.navigator.NavigationStatus status) |
public boolean isUserOffRoute(Location location, RouteProgress routeProgress, MapboxNavigationOptions options)
isUserOffRoute
in class OffRoute
public boolean isUserOffRouteWith(com.mapbox.navigator.NavigationStatus status)
© 2019 Mapbox. All rights reserved.