GoogleUserMessagingPlatform Framework Reference
bookmark_borderbookmark
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-03-25 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-03-25 UTC."],[[["`UMPRequestParameters` objects are used to send updates to user consent information."],["These parameters include an indicator for whether the user is under the age of consent (`tagForUnderAgeOfConsent`)."],["They also contain debug settings for the request (`debugSettings`)."]]],["`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"]]