sdk-search / com.tomtom.online.sdk.search / OnlineSearchApi / create

create

@DeprecatedSince(2020, 6) open static fun create(@NonNull context: Context): SearchApi!
Deprecated: Deprecated in Java

Creates a new SearchAPI object which will use the provided Search API Key. It uses default values for a Search service endpoint and API version.

Return
SearchApi!: Newly created SearchAPI object for further processing.

open static fun create(@NonNull context: Context, apiKey: String!): SearchApi!

Creates a new SearchAPI object which will use the Search API Key obtained from a parameter. It uses default values for the Search service endpoint and API version.

Return
SearchApi!: Newly created SearchAPI object for further processing.