GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
UMPDebugSettings
@interface UMPDebugSettings : NSObject <NSCopying>
Overrides settings for debugging or testing.
-
Array of device identifier strings. Debug features are enabled for devices with these
identifiers. Debug features are always enabled for simulators.
Declaration
Swift
var testDeviceIdentifiers: [String]? { get set }
Objective-C
@property (nonatomic, copy, nullable) NSArray<NSString *> *testDeviceIdentifiers;
-
Declaration
Swift
var geography: DebugGeography { get set }
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\u003eUMPDebugSettings\u003c/code\u003e enables overriding settings for debugging and testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying device identifiers for enabling debug features on specific devices or simulators.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egeography\u003c/code\u003e property enables simulating user's location for testing purposes with different geographical locations.\u003c/p\u003e\n"]]],["`UMPDebugSettings` allows overriding settings for debugging and testing. Key actions include setting `testDeviceIdentifiers`, an array of device identifier strings that enable debug features (always enabled for simulators). Another key action is setting the `geography`, which is a debug geography. These settings are accessible and modifiable in both Swift and Objective-C through corresponding property declarations.\n"],null,["# GoogleUserMessagingPlatform Framework Reference\n\nUMPDebugSettings\n================\n\n\n @interface UMPDebugSettings : NSObject \u003cNSCopying\u003e\n\nOverrides settings for debugging or testing.\n- `\n ``\n ``\n `\n\n ### [testDeviceIdentifiers](#/c:objc(cs)UMPDebugSettings(py)testDeviceIdentifiers)\n\n `\n ` \n Array of device identifier strings. Debug features are enabled for devices with these\n identifiers. Debug features are always enabled for simulators. \n\n #### Declaration\n\n Swift \n\n var testDeviceIdentifiers: [String]? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) NSArray\u003cNSString *\u003e *testDeviceIdentifiers;\n\n- `\n ``\n ``\n `\n\n ### [geography](#/c:objc(cs)UMPDebugSettings(py)geography)\n\n `\n ` \n Debug geography. \n\n #### Declaration\n\n Swift \n\n var geography: DebugGeography { get set }\n\n Objective-C \n\n @property (nonatomic) ../Enums/UMPDebugGeography.html geography;"]]