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.
[[["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-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eUMPDebugGeography\u003c/code\u003e is an enum used for testing geographic location features.\u003c/p\u003e\n"],["\u003cp\u003eIt provides 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 debug values help developers test functionalities dependent on user geography without relying on real location data.\u003c/p\u003e\n"]]],["`UMPDebugGeography` provides debug values for testing geography, defined as an enum. It allows disabling geography debugging (`disabled`), simulating the European Economic Area (`EEA`), a regulated US state (`regulatedUSState`), or a non-regulated region (`other`). `notEEA` is deprecated and should be replaced with `other`. The values for each case are defined in both Swift and Objective-C. Each enum case corresponds to a specific integer value, from 0 to 4.\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"]]