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.
[[["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 2024-12-04 UTC."],[[["`UMPDebugGeography` is an enum used for testing geographic location features."],["It provides three options: `disabled`, `EEA`, and `notEEA`, allowing developers to simulate a user's location as either within or outside the European Economic Area."],["These debug values help developers test functionalities dependent on user geography without relying on real location data."]]],["`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"]]