Skip to main content
The Customized Consent screen class provides methods associated with the customized consent screen.
Import and instantiate the Customized Consent screen class:

Properties

The Customized Consent screen class properties are:

Methods

The Customized Consent screen class methods are:

accept( options? )

This method submits the user’s decision to accept the requested permissions.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

deny( options? )

This method submits the user’s decision to deny the requested permissions.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

getError( options? )

This method retrieves the array of transaction errors from context or an empty array if none exist.