GoogleUserMessagingPlatform Framework Reference
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 tagForUnderAgeOfConsent: Bool { get set }
Objective-C
@property (nonatomic) BOOL tagForUnderAgeOfConsent;
-
Debug settings for the request.
Declaration
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 2024-12-04 UTC.
[null,null,["Last updated 2024-12-04 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"]]