public static interface

UrlAllowList.OnUrlAllowListCallback

com.urbanairship.js.UrlAllowList.OnUrlAllowListCallback

Class Overview

Interface that defines a callback that can be used to reject or allow a URL.

Summary

Public Methods
abstract boolean allowUrl(String url, int scope)
Called when the URL has passed the isAllowed() check.

Public Methods

public abstract boolean allowUrl (String url, int scope)

Called when the URL has passed the isAllowed() check.

Parameters
url The URL.
scope The scope.
Returns
  • true to accept the URL, false to reject the URL.