ConsentInformation class abstract

Utility methods for collecting consent from users.

Constructors

ConsentInformation()

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>
Indicates whether the app has completed the necessary steps for gathering updated user consent.
getConsentStatus() Future<ConsentStatus>
Get the user’s consent status.
getPrivacyOptionsRequirementStatus() Future<PrivacyOptionsRequirementStatus>
Indicates the privacy options requirement status as a PrivacyOptionsRequirementStatus.
isConsentFormAvailable() Future<bool>
Returns true if a ConsentForm is available, false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestConsentInfoUpdate(ConsentRequestParameters params, OnConsentInfoUpdateSuccessListener successListener, OnConsentInfoUpdateFailureListener failureListener) → void
Requests a consent information update.
reset() Future<void>
Resets the consent information to initialized status.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ConsentInformation
The static ConsentInformation instance.
getter/setter pair