GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
UMPDebugGeography
enum UMPDebugGeography : NSInteger {}
Debug values for testing geography.
-
< Disable geography debugging.
Declaration
Objective-C
UMPDebugGeographyDisabled = 0
-
< Geography appears as in EEA for debug devices.
Declaration
Objective-C
UMPDebugGeographyEEA = 1
-
< Geography appears as in a regulated US State.
Declaration
Swift
case regulatedUSState = 3
Objective-C
UMPDebugGeographyRegulatedUSState = 3
-
< Geography appears as in a region with no regulation in force.
Declaration
Objective-C
UMPDebugGeographyOther = 4
-
Deprecated
Deprecated. Use UMPDebugGeographyOther.
Declaration
Objective-C
UMPDebugGeographyNotEEA
__attribute__((deprecated("Deprecated. Use UMPDebugGeographyOther."))) = 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 2024-12-04 UTC.
[null,null,["Last updated 2024-12-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPDebugGeography\u003c/code\u003e provides debug values for testing geographic-specific features.\u003c/p\u003e\n"],["\u003cp\u003eIt includes options to simulate being in the EEA, a regulated US state, a region with no regulation, or to disable geography debugging.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUMPDebugGeographyNotEEA\u003c/code\u003e option is deprecated and should be replaced with \u003ccode\u003eUMPDebugGeographyOther\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these values to test the behavior of their apps under different geographic conditions.\u003c/p\u003e\n"]]],[],null,["# GoogleUserMessagingPlatform Framework Reference\n\nUMPDebugGeography\n=================\n\n enum UMPDebugGeography : NSInteger {}\n\nDebug values for testing geography.\n- `\n ``\n ``\n `\n\n ### [UMPDebugGeographyDisabled](#/c:@E@UMPDebugGeography@UMPDebugGeographyDisabled)\n\n `\n ` \n \\\u003c Disable geography debugging. \n\n #### Declaration\n\n Swift \n\n case disabled = 0\n\n Objective-C \n\n UMPDebugGeographyDisabled = 0\n\n- `\n ``\n ``\n `\n\n ### [UMPDebugGeographyEEA](#/c:@E@UMPDebugGeography@UMPDebugGeographyEEA)\n\n `\n ` \n \\\u003c Geography appears as in EEA for debug devices. \n\n #### Declaration\n\n Swift \n\n case EEA = 1\n\n Objective-C \n\n UMPDebugGeographyEEA = 1\n\n- `\n ``\n ``\n `\n\n ### [UMPDebugGeographyRegulatedUSState](#/c:@E@UMPDebugGeography@UMPDebugGeographyRegulatedUSState)\n\n `\n ` \n \\\u003c Geography appears as in a regulated US State. \n\n #### Declaration\n\n Swift \n\n case regulatedUSState = 3\n\n Objective-C \n\n UMPDebugGeographyRegulatedUSState = 3\n\n- `\n ``\n ``\n `\n\n ### [UMPDebugGeographyOther](#/c:@E@UMPDebugGeography@UMPDebugGeographyOther)\n\n `\n ` \n \\\u003c Geography appears as in a region with no regulation in force. \n\n #### Declaration\n\n Swift \n\n case other = 4\n\n Objective-C \n\n UMPDebugGeographyOther = 4\n\n- `\n ``\n ``\n `\n\n ### [UMPDebugGeographyNotEEA](#/c:@E@UMPDebugGeography@UMPDebugGeographyNotEEA)\n\n `\n ` \n Deprecated\n\n Deprecated. Use UMPDebugGeographyOther. \n Undocumented \n\n #### Declaration\n\n Swift \n\n case notEEA = 2\n\n Objective-C \n\n UMPDebugGeographyNotEEA\n __attribute__((deprecated(\"Deprecated. Use UMPDebugGeographyOther.\"))) = 2"]]