SearchSdkSettings

class SearchSdkSettings @JvmOverloads() constructor(geocodingEndpointBaseUrl: String, singleBoxSearchBaseUrl: String?, maxHistoryRecordsAmount: Int)

Settings used for Search SDK initialization.

See also

Constructors

SearchSdkSettings
Link copied to clipboard
fun SearchSdkSettings(geocodingEndpointBaseUrl: String = DEFAULT_ENDPOINT_GEOCODING, singleBoxSearchBaseUrl: String? = null, maxHistoryRecordsAmount: Int = DEFAULT_MAX_HISTORY_RECORDS_AMOUNT)

Types

Builder
Link copied to clipboard
class Builder
Builder for comfortable creation of SearchSdkSettings instance.

Functions

toBuilder
Link copied to clipboard
fun toBuilder(): SearchSdkSettings.Builder
Creates new SearchSdkSettings.Builder from current SearchSdkSettings instance.

Properties

geocodingEndpointBaseUrl
Link copied to clipboard
val geocodingEndpointBaseUrl: String
Geocoding API endpoint URL.
maxHistoryRecordsAmount
Link copied to clipboard
val maxHistoryRecordsAmount: Int
Specify the maximum allowed history records amount for HistoryDataProvider.
singleBoxSearchBaseUrl
Link copied to clipboard
val singleBoxSearchBaseUrl: String? = null
Single Box Search endpoint URL.