android-components / mozilla.components.browser.search / SearchEngineParser / load

load

fun load(assetManager: AssetManager, identifier: String, path: String): SearchEngine (source)

Loads a SearchEngine from the given path in assets and assigns it the given identifier.

fun load(identifier: String, stream: InputStream): SearchEngine (source)

Loads a SearchEngine from the given stream and assigns it the given identifier.