App Consent
The interface contract that allows you to interact with CMP
Functions
Finds out whether all consent items have been accepted by the user
Finds out whether all stack items have been accepted by the user
Finds out whether all vendor items have been accepted by the user
Clear all applications SharedPreferences
Clear user consent stored locally in applications SharedPreferences
Checks whether a consent has been authorized
Check if user gave consent
Checks whether an extra consent has been authorized
Shows whether or not floating purpose has been authorized for a given extraId.
Checks whether a Extra Vendor has been authorized
Check if user gave consent for Geolocation purpose
Returns a list of consentables
Return a list of all Extra Vendors
Retrieves the list of your external id's, previously stored
This method shows the current status of GCMv2 (Google Consent Mode V2).
Finds out whether all consent items have been allowed by the user. If, on the other hand, consent items are present, then processing will be carried out and false will be returned if at least one of them is not allowed.
Finds out whether all consent items have been disallowed by the user. If, on the other hand, consent items are present, then processing will be carried out and false will be returned if at least one of them is not disallowed.
Finds out whether all stacks have been allowed by the user. If, on the other hand, stacks are present, then processing will be carried out and false will be returned if at least one of them is not allowed.
Finds out whether all stacks have been disallowed by the user. If, on the other hand, stacks are present, then processing will be carried out and false will be returned if at least one of them is not disallowed.
Finds out whether all vendors have been allowed by the user. If, on the other hand, vendors are present, then processing will be carried out and false will be returned if at least one of them is not allowed.
Finds out whether all vendors have been disallowed by the user. If, on the other hand, vendors are present, then processing will be carried out and false will be returned if at least one of them is not disallowed.
Find out if your Floating Purpose needs updating or not
Finds out whether or not the user has explicitly limited his or her advertising tracking
Return true if user is subject to GDPR. It depends on forceApplyGDPR into com.sfbx.appconsentv3.ui.model.ACConfiguration and phone's locale.
This method lets you know the status of your users' consent.
This method lets you know the status of your users' consent.
Send the external ids you have stored to the server. setExternalIds
Defines the new status of consentables passed in parameter.
Store a set of external id's to allow you to send them to the server later with the saveExternalIds method.
Defines the new status of extra consentables passed in parameter.
Set a listener to be notified when user has given his geolocation consent
Set a listener to be notified when user has given his consent
Checks whether a stack has been authorized
Try to display the Geolocation CMP; display is controlled by functional rules
Try to display the CMP; display is controlled by functional rules
This method lets you know the status of your users' consent.
Checks whether a IAB Vendor has been authorized