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 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPDebugGeography\u003c/code\u003e provides debug values for testing geographic location functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt includes three options: \u003ccode\u003edisabled\u003c/code\u003e, \u003ccode\u003eEEA\u003c/code\u003e, and \u003ccode\u003enotEEA\u003c/code\u003e, allowing developers to simulate a user's location as either within or outside the European Economic Area.\u003c/p\u003e\n"],["\u003cp\u003eThese options are used for testing purposes to ensure the app behaves correctly based on geographic location.\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"]]