Managed Consent
Will present a dialog for the users to grant or withhold their consent.
Parameters
cmp
Instance of CMP to be used.
context
The Context of your application.
delegate
The ManagedConsentDelegate instance. Must not be null.
constructor(cmp: CMP, context: Context, delegate: ManagedConsent.ManagedConsentDelegate, showIfNeededSetting: ManagedConsent.ShowIfNeededSetting)
Parameters
cmp
Instance of CMP to be used.
context
The Context of your application.
delegate
The ManagedConsentDelegate instance. Must not be null.
show If Needed Setting
ShowIfNeededSetting setting how the showIfNeeded method should behave. ShowIfNeededSetting.SERVER_SIDE_CONTROL by default.