create

fun create(context: Context, apiKey: String, customApiUrl: URL? = null): Search

Creates an instance of the OnlineSearch.

Parameters

context

Information about an application environment.

apiKey

API key for online search.

customApiUrl

Custom base URL to execute Search API calls.