GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Classes
The following classes are available globally.
-
A single use consent form object.
Declaration
Swift
class ConsentForm : NSObject
Objective-C
@interface UMPConsentForm : NSObject
-
Consent information. All methods must be called on the main thread.
Declaration
Swift
class ConsentInformation : NSObject
Objective-C
@interface UMPConsentInformation : NSObject
-
Overrides settings for debugging or testing.
Declaration
Swift
class DebugSettings : NSObject, NSCopying
Objective-C
@interface UMPDebugSettings : NSObject <NSCopying>
-
Parameters sent on updates to user consent info.
Declaration
Swift
class RequestParameters : 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 2025-03-25 UTC.
[null,null,["Last updated 2025-03-25 UTC."],[[["\u003cp\u003eThis documentation outlines the available classes for managing user consent and privacy in iOS applications.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUMPConsentForm\u003c/code\u003e is a class for displaying a one-time consent form to users.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUMPConsentInformation\u003c/code\u003e provides methods to access and update user consent information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUMPDebugSettings\u003c/code\u003e and \u003ccode\u003eUMPRequestParameters\u003c/code\u003e allow for debugging and customization of consent requests.\u003c/p\u003e\n"]]],[],null,["# GoogleUserMessagingPlatform Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [UMPConsentForm](/interactive-media-ads/docs/sdks/ios/client-side/privacy/api/reference/Classes/UMPConsentForm)\n\n `\n ` \n A single use consent form object. \n\n #### Declaration\n\n Swift \n\n class ConsentForm : NSObject\n\n Objective-C \n\n\n @interface UMPConsentForm : NSObject\n\n- `\n ``\n ``\n `\n\n ### [UMPConsentInformation](/interactive-media-ads/docs/sdks/ios/client-side/privacy/api/reference/Classes/UMPConsentInformation)\n\n `\n ` \n Consent information. All methods must be called on the main thread. \n\n #### Declaration\n\n Swift \n\n class ConsentInformation : NSObject\n\n Objective-C \n\n\n @interface UMPConsentInformation : NSObject\n\n- `\n ``\n ``\n `\n\n ### [UMPDebugSettings](/interactive-media-ads/docs/sdks/ios/client-side/privacy/api/reference/Classes/UMPDebugSettings)\n\n `\n ` \n Overrides settings for debugging or testing. \n\n #### Declaration\n\n Swift \n\n class DebugSettings : NSObject, NSCopying\n\n Objective-C \n\n\n @interface UMPDebugSettings : NSObject \u003cNSCopying\u003e\n\n- `\n ``\n ``\n `\n\n ### [UMPRequestParameters](/interactive-media-ads/docs/sdks/ios/client-side/privacy/api/reference/Classes/UMPRequestParameters)\n\n `\n ` \n Parameters sent on updates to user consent info. \n\n #### Declaration\n\n Swift \n\n class RequestParameters : NSObject, NSCopying\n\n Objective-C \n\n\n @interface UMPRequestParameters : NSObject \u003cNSCopying\u003e"]]