AutoconsentCallback
interface AutoconsentCallback
Public interface for the Autoconsent callback. It is required to be implemented and passed when calling addJsInterface and provides a useful set of callbacks.
Functions
Link copied to clipboard
This method is called whenever a popup is handled for the first time.
Link copied to clipboard
This method is called whenever a popup is handled but not for the first time.
Link copied to clipboard
abstract fun onResultReceived(consentManaged: Boolean, optOutFailed: Boolean, selfTestFailed: Boolean, isCosmetic: Boolean?)
This method is called whenever autoconsent has a result to be sent