GoogleUserMessagingPlatform Framework Reference

  • The User Messaging Platform (UMP) SDK provides two global constants: UMPVersionString and UMPErrorDomain.

  • UMPVersionString represents the SDK's version in the format "major.minor.patch" and is available in both Swift and Objective-C.

  • UMPErrorDomain is used for all SDK-related errors and can be accessed from Swift and Objective-C code.

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