ConsentGateway class abstract interface

Boundary between consent policy and a concrete consent SDK.

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>
Whether the ads SDK may issue ad requests now.
getConsentStatus() → Future<GdprConsentStatus>
Returns the current typed consent status.
getPrivacyOptionsRequirementStatus() → Future<GdprPrivacyOptionsRequirementStatus>
Returns whether the host app must expose privacy options.
loadAndShowConsentFormIfRequired() → Future<void>
Loads and presents a consent form only when UMP requires one.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestConsentInfoUpdate(GdprConfiguration configuration) → Future<void>
Refreshes consent information using the supplied request configuration.
reset() → Future<void>
Clears consent state for testing only.
showPrivacyOptionsForm() → Future<void>
Presents the user's privacy options form.
toString() → String
A string representation of this object.
inherited

Operators

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