URLAllowListDelegate
@objc(UAURLAllowListDelegate)
public protocol URLAllowListDelegate
Delegate protocol for accepting and rejecting URLs.
-
Called when a URL has been allowed by the SDK, but before the URL is fetched.
Declaration
Swift
@objc func allowURL(_ url: URL, scope: URLAllowListScope) -> Bool
Parameters
url
The URL allowed by the SDK.
scope
The scope of the desired match.
Return Value
true
to accept this URL,false
to reject this URL.