GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Enumerations
The following enumerations are available globally.
-
Declaration
Swift
enum UMPConsentStatus : Int, @unchecked Sendable
Objective-C
enum UMPConsentStatus : NSInteger {}
-
State values for whether the user has a consent form available to them. To check whether form
status has changed, an update can be requested through
requestConsentInfoUpdateWithParameters:completionHandler.
Declaration
Swift
enum UMPFormStatus : Int, @unchecked Sendable
Objective-C
enum UMPFormStatus : NSInteger {}
-
State values for whether the user needs to be provided a way to modify their privacy options.
Declaration
Swift
enum UMPPrivacyOptionsRequirementStatus : Int, @unchecked Sendable
Objective-C
enum UMPPrivacyOptionsRequirementStatus : NSInteger {}
-
Debug values for testing geography.
Declaration
Swift
enum UMPDebugGeography : Int, @unchecked Sendable
Objective-C
enum UMPDebugGeography : NSInteger {}
-
Error codes used when making requests to update consent info.
Declaration
Swift
enum UMPRequestErrorCode : Int, @unchecked Sendable
Objective-C
enum UMPRequestErrorCode : NSInteger {}
-
Error codes used when loading and showing forms.
Declaration
Swift
enum UMPFormErrorCode : Int, @unchecked Sendable
Objective-C
enum UMPFormErrorCode : NSInteger {}
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-12-04 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-12-04 UTC."],[[["This documentation details globally available enumerations for managing user consent and privacy in Google AdMob for iOS."],["The enumerations cover consent status, form status, privacy options, debug geography, request errors, and form errors."],["Each enumeration provides specific values and their meanings for handling different user privacy scenarios within the app."],["Developers can utilize these enumerations to implement and control user consent and privacy settings according to regulatory requirements and user preferences."]]],["The content defines globally available enumerations for the AdMob iOS privacy API. These include `UMPConsentStatus` for consent status values, `UMPFormStatus` to indicate whether a consent form is available, and `UMPPrivacyOptionsRequirementStatus` for privacy option modification needs. Debug values for testing geography are provided with `UMPDebugGeography`. Error codes for consent info updates (`UMPRequestErrorCode`) and form interactions (`UMPFormErrorCode`) are also defined. Each enum is declared in both Swift and Objective-C.\n"]]