android-components / mozilla.components.browser.search.provider / SearchEngineList

SearchEngineList

data class SearchEngineList (source)

Data class providing an ordered list of search engines and a default search engine from a specific source.

Constructors

Name Summary
<init> SearchEngineList(list: List<SearchEngine>, default: SearchEngine?)
Data class providing an ordered list of search engines and a default search engine from a specific source.

Properties

Name Summary
default val default: SearchEngine?
The default search engine if the user has no preference.
list val list: List<SearchEngine>
An ordered list of search engines.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.