HSAutomaticInterceptorPolicy

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Decide how the SDK should handle URL requests. Default is `PXAutomaticInterceptorPolicy/intercept`.

Functions

Link copied to clipboard
fun setInterceptedDomains(domains: Set<String>, appId: String)

Use this function to register domains that your app interacts with. The SDK (when the `PXAutomaticInterceptorPolicy/urlRequestInterceptionType` is set to any value rather than `PXAutomaticInterceptorType/none`) is intercepting URL requests to those domains only. If you do not set a domain, the SDK will intercept all URL requests. If you are using more than one AppID, setting the domains is required. For example: "example.com".