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 apps using the User Messaging Platform (UMP)."],["The classes include `UMPConsentForm` for displaying consent forms, `UMPConsentInformation` for managing consent data, `UMPDebugSettings` for testing and debugging, and `UMPRequestParameters` for configuring consent update requests."],["These classes provide developers with tools to implement and customize the user consent experience within their applications, ensuring compliance with privacy regulations."]]],["The content defines four classes for managing user consent: `UMPConsentForm`, a single-use object for consent forms; `UMPConsentInformation`, handling consent data on the main thread; `UMPDebugSettings`, which provides override settings for testing; and `UMPRequestParameters`, which manages parameters sent during user consent updates. These are all globally available, and they are defined using both Swift and Objective-C syntax. All the classes inherit from the NSObject class. Two classes also implement the NSCopying protocol.\n"]]