AdropConsentManager class

Consent Manager for managing user consent (GDPR, CCPA, etc.)

This manager provides methods to request consent information updates, check consent status, and manage debug settings for testing.

Constructors

AdropConsentManager.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canRequestAds() Future<bool>
Check if ads can be requested
getConsentStatus() Future<AdropConsentStatus>
Get the current consent status
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestConsentInfoUpdate(AdropConsentListener listener) Future<void>
Request consent info update and show consent form if required
reset() Future<void>
Reset consent information (for testing/debugging)
setDebugSettings(AdropConsentDebugGeography geography) Future<void>
Set debug settings for testing consent flows
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited