object CustomDomains
(source)
Contains functionality to manage custom domains for auto-completion.
fun add(context: Context, domain: String): Unit
Adds the provided domain to preferences. |
|
fun load(context: Context): List<String>
Loads the previously added/saved custom domains from preferences. |
|
fun remove(context: Context, domains: List<String>): Unit
Removes the provided domain from preferences. |
|
fun save(context: Context, domains: List<String>): Unit
Saves the provided domains to preferences. |