setRules

abstract suspend fun setRules(blockingRules: List<String>, exceptionRules: String? = null)

Set the rules the blocking service should use to determine if a URL should be blocked.

Parameters

blockingRules

The sets of blocking rules to use.

exceptionRules

The exceptions to the blocking rules.