GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPRequestParameters\u003c/code\u003e objects are used to send updates to user consent information.\u003c/p\u003e\n"],["\u003cp\u003eThese parameters include an indicator for whether the user is under the age of consent (\u003ccode\u003etagForUnderAgeOfConsent\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThey also contain debug settings for the request (\u003ccode\u003edebugSettings\u003c/code\u003e).\u003c/p\u003e\n"]]],["`UMPRequestParameters` are used to update user consent information. Key actions include setting the `tagForUnderAgeOfConsent` property, a Boolean value indicating if a user is under the age of consent. Additionally, the `debugSettings` property, of type `UMPDebugSettings`, can be set to configure debug settings for the consent request, allowing for detailed control during development and testing. These are set in Objective-C and Swift by using properties.\n"],null,["# GoogleUserMessagingPlatform Framework Reference\n\nUMPRequestParameters\n====================\n\n\n @interface UMPRequestParameters : NSObject \u003cNSCopying\u003e\n\nParameters sent on updates to user consent info.\n- `\n ``\n ``\n `\n\n ### [tagForUnderAgeOfConsent](#/c:objc(cs)UMPRequestParameters(py)tagForUnderAgeOfConsent)\n\n `\n ` \n Indicates whether the user is tagged for under age of consent. \n\n #### Declaration\n\n Swift \n\n var isTaggedForUnderAgeOfConsent: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL tagForUnderAgeOfConsent;\n\n- `\n ``\n ``\n `\n\n ### [debugSettings](#/c:objc(cs)UMPRequestParameters(py)debugSettings)\n\n `\n ` \n Debug settings for the request. \n\n #### Declaration\n\n Swift \n\n @NSCopying var debugSettings: DebugSettings? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) ../Classes/UMPDebugSettings.html *debugSettings;"]]