android-components / mozilla.components.browser.domains / CustomDomains / add

add

fun add(context: <ERROR CLASS>, domain: String): Unit (source)

Adds the provided domain to preferences.

Parameters

context - the application context

domain - the domain to add