GoogleMobileAds Framework Reference
GADVersionNumber
struct GADVersionNumber {}
Version number information.
-
Declaration
Swift
var majorVersion: Int
Objective-C
NSInteger majorVersion
-
Declaration
Swift
var minorVersion: Int
Objective-C
NSInteger minorVersion
-
Declaration
Swift
var patchVersion: Int
Objective-C
NSInteger patchVersion
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 2021-02-23 UTC.
[null,null,["Last updated 2021-02-23 UTC."],[[["The `GADVersionNumber` struct provides version number information."],["It includes `majorVersion`, `minorVersion`, and `patchVersion` properties to represent the version components."],["Each version component is accessible as an integer using properties like `majorVersion`, `minorVersion`, and `patchVersion` in both Swift and Objective-C."]]],[]]