public interface OnOfflineRouteFoundCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(OfflineError error)
Called when there was an error fetching the offline route.
|
void |
onRouteFound(com.mapbox.api.directions.v5.models.DirectionsRoute route)
Called when an offline route is found.
|
void onRouteFound(@NonNull com.mapbox.api.directions.v5.models.DirectionsRoute route)
route
- offline routevoid onError(@NonNull OfflineError error)
error
- with message explanation© 2019 Mapbox. All rights reserved.