GoogleMobileAds 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 UMPVersionString: String
Objective-C
extern NSString *const _Nonnull 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 2023-02-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-02-08 UTC."],[[["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."]]],[]]