onStarted abstract method
- OfflineSearchIndexOperation operation
Called each time that the indexing has started.
It is triggered by changes to persistent map
or by calling OfflineSearchEngine.setIndexOptions.
If a valid index was previously created for the installed regions, no additional indexing
is performed, so no notifications are sent. In this context, a valid index is the one
that contains data for the exact versions of the installed map regions. When any of them
is updated or new regions are downloaded or deleted, the index becomes invalid and is
automatically rebuilt, as long as indexing has been enabled previously.
Invoked on the main thread.
operationShows whether the index is being created or removed.
Implementation
void onStarted(OfflineSearchIndexOperation operation);