On Present Notice Listener
Callback dedicated to the CMP, allowing you to register when the CMP starts, so that you know when the user has completed his consent process and validated his choices. If you want to be informed when the user has given their consent and load your advertising SDK, this is the callback to use.
Functions
This method will be called to inform you that an error has occurred during the user's journey. This does not in any way prevent you from loading your advertising SDK, as it is understood that if there is no consent, this is interpreted as a refusal.
This method will be called to inform you that the user has completed the consent process and generated a consentString. You can then load your advertising SDK and/or retrieve Shared preferences android.content.SharedPreferences from the CMP to find out your user's response and use them as you see fit.