Search Manager
Types
Functions
Link copied to clipboard
Adds Contacts flat data
Adds list of Contacts flat data
Link copied to clipboard
Adds Custom Places flat data
Adds list of Custom Places flat data
Link copied to clipboard
Adds Favorites flat data
Adds list of Favorites flat data
Link copied to clipboard
Adds History flat data
Adds list of History flat data
Link copied to clipboard
Frees session resources after it's no longer usable
Link copied to clipboard
fun createCompositeSearch(type: SearchManager.CompositeSearchType, searches: List<Search>, callback: CreateSearchCallback<CompositeSearch>, executor: Executor? = null)
Create composite search - combination of search engines to fulfil more complex search scenarios
Link copied to clipboard
fun createCoordinateSearch(callback: CreateSearchCallback<CoordinateSearch>, executor: Executor? = null)
Create coordinate search engine
Link copied to clipboard
fun createCustomPlacesSearch(callback: CreateSearchCallback<CustomPlacesSearch>, executor: Executor? = null)
Create custom places search engine
Link copied to clipboard
fun createFlatSearch(priority: Float, callback: CreateSearchCallback<FlatSearch>, executor: Executor? = null)
Create flat search engine
Link copied to clipboard
fun createOfflineMapSearch(callback: CreateSearchCallback<OfflineMapSearch>, executor: Executor? = null)
Create offline maps search engine Note: OfflineMapSearch consumes a lot of resources, it is recommended to share one OfflineMapSearch instance
Link copied to clipboard
fun createOnlineMapSearch(callback: CreateSearchCallback<OnlineMapSearch>, executor: Executor? = null)
Create online search engine
Link copied to clipboard
Creates new online/offline session based on current connectivity
Link copied to clipboard
Creates new offline session
Link copied to clipboard
Creates new online session
Link copied to clipboard
Link copied to clipboard