android-components / mozilla.components.browser.domains / CustomDomains / add
add
fun add(context: Context, domain: String): Unit
(source)
Adds the provided domain to preferences.
Parameters
context
- the application context
domain
- the domain to add