AI-generated Key Takeaways
-
The User Messaging Platform (UMP) SDK provides two global constants:
UMPVersionString
andUMPErrorDomain
. -
UMPVersionString
represents the SDK's version in the format "major.minor.patch" and is available in both Swift and Objective-C. -
UMPErrorDomain
is a string constant used as the error domain for all SDK-related errors, also accessible in Swift and Objective-C.
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