GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Type-Definitions
The following type definitions are available globally.
-
Provides a nonnull consentForm and a nil error if the load succeeded. Provides a nil
consentForm and a nonnull error if the load failed.
Declaration
Swift
typealias UMPConsentFormLoadCompletionHandler = (UMPConsentForm?, (any Error)?) -> Void
Objective-C
typedef void (^UMPConsentFormLoadCompletionHandler)(UMPConsentForm *_Nullable,
NSError *_Nullable)
-
Called after presentation of a UMPConsentForm finishes.
Declaration
Swift
typealias UMPConsentFormPresentCompletionHandler = ((any Error)?) -> Void
Objective-C
typedef void (^UMPConsentFormPresentCompletionHandler)(NSError *_Nullable)
-
Called when the consent info request completes. Error is nil on success, and non-nil if the
update failed.
Declaration
Swift
typealias UMPConsentInformationUpdateCompletionHandler = ((any Error)?) -> Void
Objective-C
typedef void (^UMPConsentInformationUpdateCompletionHandler)(NSError *_Nullable)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[[["The page defines global type definitions used in User Messaging Platform (UMP) for consent management."],["`UMPConsentFormLoadCompletionHandler` provides a consent form and error status upon loading."],["`UMPConsentFormPresentCompletionHandler` is called after a consent form is presented, indicating completion status."],["`UMPConsentInformationUpdateCompletionHandler` signals completion of a consent information update request, providing an error status if it failed."]]],[]]