History Data Provider
LocalDataProvider typed to store HistoryRecord items.
Instance of HistoryDataProvider can be retrieved from com.mapbox.search.ServiceProvider.historyDataProvider.
See also
Types
Functions
Adds a listener to be notified of data provider changes.
Adds a listener to be notified when IndexableDataProviderEngine registered in this data provider. When a new listener is added, it will be invoked for each previously registered IndexableDataProviderEngine.
Retrieves all records from this provider.
Registers engine with this data provider. Allows to keep search index of search engines, associated with this data provider, up-to-date.
Removes a previously added listener.
Removes a previously added listener.
Unregisters engine from this data provider.
Upsert (insert or update) multiple records to this data provider.
Properties
Data provider priority. In case of multiple data providers registered in a com.mapbox.search.SearchEngine, IndexableRecord's with higher priority will be ranked higher in the search results list.