GoogleUserMessagingPlatform Framework Reference

  • The SDK provides global constants such as UMPVersionString for version information and UMPErrorDomain for handling SDK errors.

  • UMPVersionString follows the "major.minor.patch" format and UMPErrorDomain acts as the domain for all errors encountered within 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(Version) NSString *const UMPVersionString
  • Error domain for all SDK errors.

    Declaration

    Swift

    let UMPErrorDomain: String

    Objective-C

    extern NSErrorDomain _Nonnull const UMPErrorDomain