sdk-search / com.tomtom.online.sdk.search.extensions / SearchServiceManager

SearchServiceManager

open class SearchServiceManager

Manager class that allows to create, bind and manage SearchService connectivity.

Constructors

<init>

SearchServiceManager()

Manager class that allows to create, bind and manage SearchService connectivity.

Functions

createAndBind

open static fun createAndBind(context: Context!, callback: SearchServiceConnectionCallback!): ServiceConnection

Initialize the new SearchAPI object which will use provided search api service key. It uses default values for search api service endpoint and api version.

unbind

open static fun unbind(context: Context!, serviceConnection: ServiceConnection!): Unit

Helper method to unbind from service