sdk-search / com.tomtom.online.sdk.search / OnlineSearchServiceConfiguration / OnlineSearchServiceConfigurationBuilder

OnlineSearchServiceConfigurationBuilder

open class OnlineSearchServiceConfigurationBuilder

Builder class used for a creation of OnlineSearchServiceConfiguration.

Functions

apiKey

open fun apiKey(apiKey: String!): OnlineSearchServiceConfiguration.OnlineSearchServiceConfigurationBuilder!

Defines the TomTom API Key.

apiVersion

open fun apiVersion(apiVersion: String!): OnlineSearchServiceConfiguration.OnlineSearchServiceConfigurationBuilder!

Defines the version of a TomTom API to perform requests against.

applicationClientId

open fun applicationClientId(applicationClientId: String!): OnlineSearchServiceConfiguration.OnlineSearchServiceConfigurationBuilder!

Defines the client ID used for STE analytics.

applicationClientVer

open fun applicationClientVer(applicationClientVer: String!): OnlineSearchServiceConfiguration.OnlineSearchServiceConfigurationBuilder!

Defines the client version used for STE analytics.

build

open fun build(): OnlineSearchServiceConfiguration!

Creates a new instance of OnlineSearchServiceConfiguration.

endpoint

open fun endpoint(endpoint: String!): OnlineSearchServiceConfiguration.OnlineSearchServiceConfigurationBuilder!

Defines the TomTom's Search API endpoint. The default endpoint is "https://api.tomtom.com".

sdkVersion

open fun sdkVersion(sdkVersion: String!): OnlineSearchServiceConfiguration.OnlineSearchServiceConfigurationBuilder!

Defines the version of the TomTomSDK being used.

toString

open fun toString(): String