Managed Consent
Will present a dialog for the users to grant or withhold their consent.
Parameters
Instance of CMP to be used.
The Context of your application.
The ManagedConsentDelegate instance. Must not be null.
ShowIfNeededSetting setting how the showIfNeeded method should behave. ShowIfNeededSetting.SERVER_SIDE_CONTROL by default.
Constructors
Will present a dialog for the users to grant or withhold their consent.
Types
Notifies about the need to show the consent dialog.
Possible states of consent given by the user.
Inherited properties
Functions
Presents the consent screen, allowing the user to change consent settings.
Tells the CMP to reload. You can call this method for example after receiving ManagedConsentDelegate.managedConsentCMPFailedToLoad callback.
Presents the consent screen ONLY if it is required by the used CMP (i.e. no user consent has been set yet).
Presents the consent screen if it is required by the used CMP (i.e. no user consent has been set yet) or the user has rejected the consent.
Inherited functions
Sets to set the networks that will not be requested if they do not have the TCF2 consent. Only works if TCF2 compliant CMP is used.