AI-generated Key Takeaways
-
Several enumerations are available globally, including
UMPConsentStatus,UMPFormStatus,UMPPrivacyOptionsRequirementStatus,UMPDebugGeography,UMPRequestErrorCode, andUMPFormErrorCode. -
UMPConsentStatusrepresents consent status values. -
UMPFormStatusindicates whether a consent form is available to the user and can be updated by requesting consent info. -
UMPPrivacyOptionsRequirementStatussignifies whether the user needs to be offered a way to change their privacy options. -
UMPDebugGeographyprovides values for testing geography in debug mode. -
UMPRequestErrorCodeandUMPFormErrorCodeare error codes used for requests and form handling respectively.
Enumerations
The following enumerations are available globally.
-
Consent status values.
Declaration
Swift
enum ConsentStatus : Int, @unchecked SendableObjective-C
enum UMPConsentStatus : NSInteger {} -
State values for whether the user has a consent form available to them. To check whether form status has changed, an update can be requested through requestConsentInfoUpdateWithParameters:completionHandler.
Declaration
Swift
enum FormStatus : Int, @unchecked SendableObjective-C
enum UMPFormStatus : NSInteger {} -
State values for whether the user needs to be provided a way to modify their privacy options.
Declaration
Swift
enum PrivacyOptionsRequirementStatus : Int, @unchecked SendableObjective-C
enum UMPPrivacyOptionsRequirementStatus : NSInteger {} -
Debug values for testing geography.
Declaration
Swift
enum DebugGeography : Int, @unchecked SendableObjective-C
enum UMPDebugGeography : NSInteger {} -
Error codes used when making requests to update consent info.
Declaration
Swift
typealias RequestError.Code._ErrorType = RequestErrorObjective-C
enum UMPRequestErrorCode : NSInteger {} -
Error codes used when loading and showing forms.
Declaration
Swift
typealias FormError.Code._ErrorType = FormErrorObjective-C
enum UMPFormErrorCode : NSInteger {}