GoogleUserMessagingPlatform Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Constants
The following constants are available globally.
-
SDK version string, of a form “major.minor.patch”.
Declaration
Swift
let Version: String
Objective-C
extern NS_SWIFT_NAME(Version) NSString *const UMPVersionString
-
Error domain for all SDK errors.
Declaration
Swift
let UMPErrorDomain: String
Objective-C
extern NSErrorDomain _Nonnull const UMPErrorDomain
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\u003eThe User Messaging Platform (UMP) SDK provides two global constants: \u003ccode\u003eUMPVersionString\u003c/code\u003e and \u003ccode\u003eUMPErrorDomain\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUMPVersionString\u003c/code\u003e represents the SDK's version in the format "major.minor.patch" and is available in both Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUMPErrorDomain\u003c/code\u003e is a string constant used as the error domain for all SDK-related errors, also accessible in Swift and Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleUserMessagingPlatform Framework Reference\n\nConstants\n=========\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n ### [UMPVersionString](#/c:@UMPVersionString)\n\n `\n ` \n SDK version string, of a form \"major.minor.patch\". \n\n #### Declaration\n\n Swift \n\n let Version: String\n\n Objective-C \n\n extern NS_SWIFT_NAME(Version) NSString *const UMPVersionString\n\n- `\n ``\n ``\n `\n\n ### [UMPErrorDomain](#/c:@UMPErrorDomain)\n\n `\n ` \n Error domain for all SDK errors. \n\n #### Declaration\n\n Swift \n\n let UMPErrorDomain: String\n\n Objective-C \n\n extern NSErrorDomain _Nonnull const UMPErrorDomain"]]