GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
IMAVersion
@interface IMAVersion : NSObject
Represents the IMA SDK version number.
-
Declaration
Swift
var majorVersion: Int { get set }
Objective-C
@property (nonatomic) NSInteger majorVersion;
-
Declaration
Swift
var minorVersion: Int { get set }
Objective-C
@property (nonatomic) NSInteger minorVersion;
-
Declaration
Swift
var patchVersion: Int { get set }
Objective-C
@property (nonatomic) 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 2026-05-29 UTC.
[null,null,["Last updated 2026-05-29 UTC."],[],["The core content describes the `IMAVersion` interface, which is an object designed to represent a version number. It contains three properties: `majorVersion`, `minorVersion`, and `patchVersion`. Each property is an `NSInteger` in Objective-C and an `Int` in Swift, accessible for both getting and setting values. These represent the major, minor, and patch components of a software version.\n"]]