Package com.intentsoftware.addapptr
Interface ManagedConsent.ManagedConsentDelegate
-
- All Implemented Interfaces:
public interface ManagedConsent.ManagedConsentDelegateNotifies about the need to show the consent dialog.
-
-
Method Summary
Modifier and Type Method Description abstract UnitmanagedConsentNeedsUserInterface(ManagedConsent managedConsent)Notifies that ManagedConsent needs to show a consent dialog. abstract UnitmanagedConsentCMPFinished(ManagedConsent.ManagedConsentState state)Notifies that the used CMP has finished updating consent. abstract UnitmanagedConsentCMPFailedToLoad(ManagedConsent managedConsent, String error)Notifies that the used CMP failed to load. abstract UnitmanagedConsentCMPFailedToShow(ManagedConsent managedConsent, String error)Notifies that the used CMP failed to show. -
-
Method Detail
-
managedConsentNeedsUserInterface
abstract Unit managedConsentNeedsUserInterface(ManagedConsent managedConsent)
Notifies that ManagedConsent needs to show a consent dialog. After receiving this notification, you should pause your application and call the showIfNeeded method.
- Parameters:
managedConsent- The ManagedConsent instance that requests UI.
-
managedConsentCMPFinished
abstract Unit managedConsentCMPFinished(ManagedConsent.ManagedConsentState state)
Notifies that the used CMP has finished updating consent.
- Parameters:
state- The ManagedConsentState informing about consent given by the user.
-
managedConsentCMPFailedToLoad
abstract Unit managedConsentCMPFailedToLoad(ManagedConsent managedConsent, String error)
Notifies that the used CMP failed to load.
- Parameters:
managedConsent- @param managedConsent The ManagedConsent instance.error- The description of what went wrong
-
managedConsentCMPFailedToShow
abstract Unit managedConsentCMPFailedToShow(ManagedConsent managedConsent, String error)
Notifies that the used CMP failed to show.
- Parameters:
managedConsent- @param managedConsent The ManagedConsent instance.error- The description of what went wrong
-
-
-
-