SearchManager

class SearchManager

Functions

addContactData
Link copied to clipboard
fun addContactData(data: FlatData): Long
Adds Contacts flat data
fun addContactData(data: List<FlatData>): List<Long>
Adds list of Contacts flat data
addCustomPlaceData
Link copied to clipboard
fun addCustomPlaceData(data: FlatData): Long
Adds Custom Places flat data
fun addCustomPlaceData(data: List<FlatData>): List<Long>
Adds list of Custom Places flat data
addFavoriteData
Link copied to clipboard
fun addFavoriteData(data: FlatData): Long
Adds Favorites flat data
fun addFavoriteData(data: List<FlatData>): List<Long>
Adds list of Favorites flat data
addHistoryData
Link copied to clipboard
fun addHistoryData(data: FlatData): Long
Adds History flat data
fun addHistoryData(data: List<FlatData>): List<Long>
Adds list of History flat data
closeSession
Link copied to clipboard
fun closeSession(session: Session)
Frees session resources after it's no longer usable
newHybridSession
Link copied to clipboard
fun newHybridSession(): Session
Creates new online/offline session based on current connectivity
newOfflineSession
Link copied to clipboard
fun newOfflineSession(): Session
Creates new offline session
newOnlineSession
Link copied to clipboard
fun newOnlineSession(): Session
Creates new online session
removeData
Link copied to clipboard
fun removeData(id: Long)
Removes data by unique ID
fun removeData(ids: List<Long>)
Removes data by unique ID