AI-generated Key Takeaways
-
UMPConsentStatus
is an enum defining the User Messaging Platform (UMP) consent status, with possible values including unknown, required, not required, and obtained. -
The consent status can indicate whether user consent is unknown, required but not yet obtained, not necessary, or has been obtained.
-
Each consent status value has corresponding integer representations in both Swift and Objective-C.
-
The
UMPConsentStatusObtained
value is currently undocumented but represents a state where consent has been obtained.
UMPConsentStatus
enum UMPConsentStatus : NSInteger {}
Consent status values.
-
< Unknown consent status.
Declaration
Swift
case unknown = 0
Objective-C
UMPConsentStatusUnknown = 0
-
< User consent required but not yet obtained.
Declaration
Swift
case required = 1
Objective-C
UMPConsentStatusRequired = 1
-
< Consent not required.
Declaration
Swift
case notRequired = 2
Objective-C
UMPConsentStatusNotRequired = 2
-
Undocumented
Declaration
Swift
case obtained = 3
Objective-C
UMPConsentStatusObtained = 3