Autoconsent
interface Autoconsent
Public interface for the Autoconsent (CMP) feature
Functions
Link copied to clipboard
This method adds the JS interface for autoconsent to create a bridge between JS and our client. It requires a WebView instance and an AutoconsentCallback.
Link copied to clipboard
This method enables or disables autoconsent setting depending on the value passed.
Link copied to clipboard
This method stores a value so autoconsent knows the first pop-up was already handled.
Link copied to clipboard
This method injects the JS code needed to run autoconsent. It requires a WebView instance and the URL where the code will be injected.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This method sets autoconsent to opt in mode.
Link copied to clipboard
This method sends and opt out message to autoconsent on the given WebView instance to set the opt out mode.