UserMessagingPlatform class
A plugin which provides a Dart API for the User Messaging Platform (UMP) SDK, which is the Consent Management Platform (CMP) SDK provided as part of Google's Funding Choices.
App Tracking Transparency Framework (iOS/macOS)
To use the App Tracking Transparency framework:
- Set up a NSUserTrackingUsageDescription
- Link the app to the
AppTrackingTransparency
framework
See:
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
-
getConsentInfo(
) → Future< ConsentInformation> - Returns the current ConsentInformation for the current user.
-
getTrackingAuthorizationStatus(
) → Future< TrackingAuthorizationStatus?> - Returns a Future which resolves to the authorization status that is current for the calling application.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestConsentInfoUpdate(
[ConsentRequestParameters? parameters]) → Future< ConsentInformation> - Updates the ConsentInformation for the current user.
-
requestTrackingAuthorization(
) → Future< TrackingAuthorizationStatus?> - Request to authorize or deny access to app-related data that can be used for tracking the user or the device.
-
resetConsentInfo(
) → Future< void> - Resets the consent information.
-
showConsentForm(
) → Future< ConsentInformation> - Shows the consent form to the user and returns the updated ConsentInformation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- instance → const UserMessagingPlatform
- The singleton instance of the UserMessagingPlatform plugin.