GoogleUserMessagingPlatform Framework Reference

  • 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 data, UMPDebugSettings for debugging and testing, and UMPRequestParameters for customizing consent information updates.

  • All of these classes are accessible through the User Messaging Platform (UMP) SDK.

  • Each class provides methods and properties for interacting with and controlling different aspects of the user privacy experience.

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>