AI-generated Key Takeaways
-
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, andUMPRequestParameters
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.
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>