public interface OnOfflineTilesConfiguredCallback
MapboxOfflineRouter.configure(String, OnOfflineTilesConfiguredCallback)
to know when
offline data is initialized and
MapboxOfflineRouter.findRoute(OfflineRoute, OnOfflineRouteFoundCallback)
could be called.Modifier and Type | Method and Description |
---|---|
void |
onConfigurationError(OfflineError error)
Called when an error has occurred configuring
the offline tile data.
|
void |
onConfigured(int numberOfTiles)
Called whe the offline data is initialized and
MapboxOfflineRouter.findRoute(OfflineRoute, OnOfflineRouteFoundCallback) . |
void onConfigured(int numberOfTiles)
MapboxOfflineRouter.findRoute(OfflineRoute, OnOfflineRouteFoundCallback)
.
could be called safely.numberOfTiles
- initialized in the path providedvoid onConfigurationError(@NonNull OfflineError error)
error
- with message explanation© 2019 Mapbox. All rights reserved.