OnIndexChangeListener

interface OnIndexChangeListener

Interface for a listener to be invoked when index data is changed in the OfflineSearchEngine. This interface notifies users when tiles changes made with com.mapbox.common.TileStore have been processed and visible in the OfflineSearchEngine.

Functions

onError
Link copied to clipboard
abstract fun onError(event: OfflineIndexErrorEvent)
Called when tiles changes made with com.mapbox.common.TileStore couldn't be processed in the OfflineSearchEngine.
onIndexChange
Link copied to clipboard
abstract fun onIndexChange(event: OfflineIndexChangeEvent)
Called when tiles changes made with com.mapbox.common.TileStore have been processed and visible in the OfflineSearchEngine.