Package-level declarations

Types

Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard

The list of possible submission methods for search engine urls.

Link copied to clipboard
data class JsonEngineUrl(    var base: String?,     var method: JsonEngineMethod?,     var params: List<SearchUrlParam>?,     var searchTermParamName: String?)

Defines an individual search engine URL. This is defined separately to types::SearchEngineUrl as various fields may be optional in the supplied configuration.

Link copied to clipboard
data class JsonEngineUrls(var search: JsonEngineUrl?, var suggestions: JsonEngineUrl?, var trending: JsonEngineUrl?, var searchForm: JsonEngineUrl?)

Reflects types::SearchEngineUrls, but using EngineUrl.

Link copied to clipboard
data class RefinedSearchConfig(var engines: List<SearchEngineDefinition>, var appDefaultEngineId: String?, var appPrivateDefaultEngineId: String?)

Details of the search engines to display to the user, generated as a result of processing the search configuration.

Link copied to clipboard
Link copied to clipboard

The list of possible application names that are currently supported.

Link copied to clipboard
Link copied to clipboard

The list of acceptable classifications for a search engine.

Link copied to clipboard
data class SearchEngineDefinition(    var aliases: List<String>,     var charset: String,     var classification: SearchEngineClassification,     var identifier: String,     var name: String,     var optional: Boolean,     var partnerCode: String,     var telemetrySuffix: String,     var urls: SearchEngineUrls,     var orderHint: UInt?,     var clickUrl: String?)

A definition for an individual search engine to be presented to the user.

Link copied to clipboard

SearchEngineSelector parses the JSON configuration for search engines and returns the applicable engines depending on their region + locale.

Link copied to clipboard

SearchEngineSelector parses the JSON configuration for search engines and returns the applicable engines depending on their region + locale.

Link copied to clipboard
data class SearchEngineUrl(var base: String, var method: String, var params: List<SearchUrlParam>, var searchTermParamName: String?)

Defines an individual search engine URL.

Link copied to clipboard
data class SearchEngineUrls(    var search: SearchEngineUrl,     var suggestions: SearchEngineUrl?,     var trending: SearchEngineUrl?,     var searchForm: SearchEngineUrl?)

The URLs associated with the search engine.

Link copied to clipboard

The list of possible update channels for a user's build. Use default for a self-build or an unknown channel.

Link copied to clipboard
data class SearchUrlParam(var name: String, var value: String?, var enterpriseValue: String?, var experimentConfig: String?)

Parameter definitions for search engine URLs. The name property is always specified, along with one of value, experiment_config or search_access_point.

Link copied to clipboard
data class SearchUserEnvironment(    var locale: String,     var region: String,     var updateChannel: SearchUpdateChannel,     var distributionId: String,     var experiment: String,     var appName: SearchApplicationName,     var version: String,     var deviceType: SearchDeviceType)

The user's environment that is used for filtering the search configuration.