Builder

class Builder(accessToken: String)

Builder for SearchEngineSettings.

Constructors

Builder
Link copied to clipboard
fun Builder(accessToken: String)

Functions

build
Link copied to clipboard
fun build(): SearchEngineSettings
Create SearchEngineSettings instance from builder data.
geocodingEndpointBaseUrl
Link copied to clipboard
fun geocodingEndpointBaseUrl(geocodingEndpointBaseUrl: String): SearchEngineSettings.Builder
Geocoding API endpoint URL.
locationEngine
Link copied to clipboard
fun locationEngine(locationEngine: LocationEngine): SearchEngineSettings.Builder
The mechanism responsible for providing location approximations to the SDK.
singleBoxSearchBaseUrl
Link copied to clipboard
fun singleBoxSearchBaseUrl(singleBoxSearchBaseUrl: String?): SearchEngineSettings.Builder
Single Box Search endpoint URL.
viewportProvider
Link copied to clipboard
fun viewportProvider(viewportProvider: ViewportProvider?): SearchEngineSettings.Builder
Viewport provider instance.

Properties

accessToken
Link copied to clipboard
var accessToken: String