isAllowed

open fun isAllowed(@Nullable url: String): Boolean

Checks if a given URL is allowed or not with scope SCOPE_ALL.

Return

true If the URL matches any entries in the URL allow list.

Parameters

url

The URL.


open fun isAllowed(@Nullable url: String, scope: Int): Boolean

Checks if a given URL is allowed or not.

Return

true If the URL matches any entries in the URL allow list.

Parameters

url

The URL.

scope

The scope.