GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
UMPPrivacyOptionsRequirementStatus
enum UMPPrivacyOptionsRequirementStatus : NSInteger {}
State values for whether the user needs to be provided a way to modify their privacy options.
-
Declaration
Objective-C
UMPPrivacyOptionsRequirementStatusUnknown = 0
-
A way must be provided for the user to modify their privacy options.
Declaration
Objective-C
UMPPrivacyOptionsRequirementStatusRequired = 1
-
User does not need to modify their privacy options. Either consent is not required, or the
consent type does not require modification.
Declaration
Swift
case notRequired = 2
Objective-C
UMPPrivacyOptionsRequirementStatusNotRequired = 2
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.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPPrivacyOptionsRequirementStatus\u003c/code\u003e defines whether a user needs access to modify privacy options.\u003c/p\u003e\n"],["\u003cp\u003eIt has three states: \u003ccode\u003eunknown\u003c/code\u003e, \u003ccode\u003erequired\u003c/code\u003e, and \u003ccode\u003enotRequired\u003c/code\u003e, indicating if the requirement is unknown, mandatory, or unnecessary, respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eunknown\u003c/code\u003e signifies that the requirement status is not yet determined.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequired\u003c/code\u003e means the user must be provided with a way to change their privacy choices.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003enotRequired\u003c/code\u003e signifies that user modification of privacy options is not necessary, either due to consent not being required or the consent type not needing modifications.\u003c/p\u003e\n"]]],["The `UMPPrivacyOptionsRequirementStatus` enum indicates whether a user needs to modify privacy options. It has three states: `unknown` (requirement is not yet determined), `required` (user must be provided a method to adjust privacy settings), and `notRequired` (user does not need to modify their privacy options because consent isn't needed or the consent type doesn't involve modifications). These states are represented by integer values 0, 1, and 2 respectively, in both Swift and Objective-C.\n"],null,["# GoogleUserMessagingPlatform Framework Reference\n\nUMPPrivacyOptionsRequirementStatus\n==================================\n\n enum UMPPrivacyOptionsRequirementStatus : NSInteger {}\n\nState values for whether the user needs to be provided a way to modify their privacy options.\n- `\n ``\n ``\n `\n\n ### [UMPPrivacyOptionsRequirementStatusUnknown](#/c:@E@UMPPrivacyOptionsRequirementStatus@UMPPrivacyOptionsRequirementStatusUnknown)\n\n `\n ` \n Requirement unknown. \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n Objective-C \n\n UMPPrivacyOptionsRequirementStatusUnknown = 0\n\n- `\n ``\n ``\n `\n\n ### [UMPPrivacyOptionsRequirementStatusRequired](#/c:@E@UMPPrivacyOptionsRequirementStatus@UMPPrivacyOptionsRequirementStatusRequired)\n\n `\n ` \n A way must be provided for the user to modify their privacy options. \n\n #### Declaration\n\n Swift \n\n case required = 1\n\n Objective-C \n\n UMPPrivacyOptionsRequirementStatusRequired = 1\n\n- `\n ``\n ``\n `\n\n ### [UMPPrivacyOptionsRequirementStatusNotRequired](#/c:@E@UMPPrivacyOptionsRequirementStatus@UMPPrivacyOptionsRequirementStatusNotRequired)\n\n `\n ` \n User does not need to modify their privacy options. Either consent is not required, or the\n consent type does not require modification. \n\n #### Declaration\n\n Swift \n\n case notRequired = 2\n\n Objective-C \n\n UMPPrivacyOptionsRequirementStatusNotRequired = 2"]]