AuthorizationManager class

Constructors

AuthorizationManager()

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>
Helper variable to determine if the app can request ads.
gatherConsent(OnConsentGatheringCompleteListener onConsentGatheringCompleteListener) → void
Helper method to call the Mobile Ads SDK to request consent information and load/show a consent form if necessary.
isPrivacyOptionsRequired() Future<bool>
Helper variable to determine if the privacy options form is required.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestAppTrackingAuthorization() Future<bool>
请求ATT权限
showPrivacyOptionsForm(OnConsentFormDismissedListener onConsentFormDismissedListener) → void
Helper method to call the Mobile Ads SDK method to show the privacy options form.
toString() String
A string representation of this object.
inherited

Operators

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