GoogleUserMessagingPlatform Framework Reference

  • Two global constants are available: UMPVersionString for the SDK version and UMPErrorDomain for SDK errors.

  • UMPVersionString is a string constant that provides the major, minor, and patch version of the SDK.

  • UMPErrorDomain is a string constant used as the error domain for all errors originating from the SDK.

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 NSString *const UMPVersionString
  • Error domain for all SDK errors.

    Declaration

    Swift

    let UMPErrorDomain: String

    Objective-C

    extern NSErrorDomain _Nonnull const UMPErrorDomain