ConsentManager class

Annotations
  • @Deprecated("Will be changed to new API in future releases.")

Constructors

ConsentManager()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

consentFormIsLoaded() Future<bool>
consentFormIsShowing() Future<bool>
disableAppTrackingTransparencyRequest() Future<void>
getConsent() Future<String>
getConsentStatus() Future<Status>
getConsentZone() Future<Zone>
getCustomVendor(String bundle) Future<String>
getStorage() Future<Storage>
loadConsentForm() Future<void>
requestConsentInfoUpdate(String appKey) Future<void>
setConsentFormListener(dynamic onConsentFormLoaded(String event), dynamic onConsentFormError(String event, String error), dynamic onConsentFormOpened(String event), dynamic onConsentFormClosed(String event, String consent)) → void
setConsentInfoUpdateListener(dynamic onConsentInfoUpdated(String event, String consent), dynamic onFailedToUpdateConsentInfo(String event, String error)) → void
setCustomVendor(String vendorName, String vendorBundle, String vendorPolicyUrl, dynamic vendorPurposeIds, dynamic vendorFeatureIds, dynamic vendorLegitimateInterestPurposeIds) Future<void>
setStorage(Storage storage) Future<void>
shouldShowConsentDialog() Future<ShouldShow>
showAsActivityConsentForm() Future<void>
showAsDialogConsentForm() Future<void>