AI-generated Key Takeaways
-
UMPRequestParametersis an object used to send parameters when updating user consent information. -
It includes a property
tagForUnderAgeOfConsentto indicate if the user is under the age of consent. -
It also includes a property
debugSettingsfor configuring debug options for the request.
UMPRequestParameters
@interface UMPRequestParameters : NSObject <NSCopying>Parameters sent on updates to user consent info.
-
Indicates whether the user is tagged for under age of consent.
Declaration
Swift
var isTaggedForUnderAgeOfConsent: Bool { get set }Objective-C
@property (nonatomic) BOOL tagForUnderAgeOfConsent; -
Debug settings for the request.
Declaration
Swift
@NSCopying var debugSettings: DebugSettings? { get set }Objective-C
@property (nonatomic, copy, nullable) UMPDebugSettings *debugSettings; -
The consent sync ID to sync the user consent status collected with the same ID.
The consent sync ID must meet the following requirements:
- Constructed as a UUID string, or matches the regular expression (regex) ^[0-9a-zA-Z+.=\/_-$,{}]{22,150}$ .
- A minimum of 22 characters.
- A maximum of 150 characters.
Failure to meet the requirements results in the consent sync ID not being set and the UMP SDK logging a warning to the console.
Declaration
Swift
var consentSyncID: String? { get set }Objective-C
@property (nonatomic, copy, nullable) NSString *consentSyncID;