GoogleUserMessagingPlatform Framework Reference
Classes
The following classes are available globally.
-
A single use consent form object.
Declaration
Swift
class UMPConsentForm : NSObject
Objective-C
@interface UMPConsentForm : NSObject
-
Consent information. All methods must be called on the main thread.
Declaration
Swift
class UMPConsentInformation : NSObject
Objective-C
@interface UMPConsentInformation : NSObject
-
Overrides settings for debugging or testing.
Declaration
Swift
class UMPDebugSettings : NSObject, NSCopying
Objective-C
@interface UMPDebugSettings : NSObject <NSCopying>
-
Parameters sent on updates to user consent info.
Declaration
Swift
class UMPRequestParameters : NSObject, NSCopying
Objective-C
@interface UMPRequestParameters : NSObject <NSCopying>
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.
[null,null,["Last updated 2024-12-04 UTC."],[[["This documentation details globally available classes for managing user consent and privacy in iOS applications."],["The classes include `UMPConsentForm` for displaying consent forms, `UMPConsentInformation` for accessing and updating user consent status, and `UMPDebugSettings` for testing and debugging purposes."],["`UMPRequestParameters` class is used for configuring parameters when updating user consent information."],["Each class is presented with its declaration in both Swift and Objective-C for easy integration into iOS projects."]]],["The document outlines four globally available classes: `UMPConsentForm`, a single-use consent form object; `UMPConsentInformation`, which manages consent data and requires main thread execution; `UMPDebugSettings`, for overriding settings during debugging; and `UMPRequestParameters`, for transmitting user consent information updates. Each class is defined with both Swift and Objective-C declarations, and the debug and request parameter classes conforms to the NSCopying protocol.\n"]]