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-03-25 UTC.
[null,null,["Last updated 2025-03-25 UTC."],[[["\u003cp\u003eThe SDK provides global constants such as \u003ccode\u003eUMPVersionString\u003c/code\u003e for version information and \u003ccode\u003eUMPErrorDomain\u003c/code\u003e for handling SDK errors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUMPVersionString\u003c/code\u003e follows the "major.minor.patch" format and \u003ccode\u003eUMPErrorDomain\u003c/code\u003e acts as the domain for all errors encountered within the SDK.\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"]]