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

createAndBind

@NonNull 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.

Parameters

context - Context!: Context to start a SearchService

callback - SearchServiceConnectionCallback!: SearchServiceConnectionCallback which will receive info when connected to Service