GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
IMAVersion
@interface IMAVersion : NSObject
/** Major version. */
@property(nonatomic) NSInteger majorVersion;
/** Minor version. */
@property(nonatomic) NSInteger minorVersion;
/** Patch version. */
@property(nonatomic) NSInteger patchVersion;
@end
Undocumented
-
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 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMAVersion\u003c/code\u003e is an Objective-C class that represents a version number with major, minor, and patch components.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties (\u003ccode\u003emajorVersion\u003c/code\u003e, \u003ccode\u003eminorVersion\u003c/code\u003e, \u003ccode\u003epatchVersion\u003c/code\u003e) to access and modify the individual version components.\u003c/p\u003e\n"],["\u003cp\u003eThese properties are accessible from both Objective-C and Swift.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAVersion\n==========\n\n @interface IMAVersion : NSObject\n /** Major version. */\n @property(nonatomic) NSInteger majorVersion;\n /** Minor version. */\n @property(nonatomic) NSInteger minorVersion;\n /** Patch version. */\n @property(nonatomic) NSInteger patchVersion;\n @end\n\nUndocumented\n- `\n ``\n ``\n `\n\n ### [majorVersion](#/c:objc(cs)IMAVersion(py)majorVersion)\n\n `\n ` \n Major version. \n\n #### Declaration\n\n Swift \n\n var majorVersion: Int { get set }\n\n Objective-C \n\n @property (nonatomic) NSInteger majorVersion;\n\n- `\n ``\n ``\n `\n\n ### [minorVersion](#/c:objc(cs)IMAVersion(py)minorVersion)\n\n `\n ` \n Minor version. \n\n #### Declaration\n\n Swift \n\n var minorVersion: Int { get set }\n\n Objective-C \n\n @property (nonatomic) NSInteger minorVersion;\n\n- `\n ``\n ``\n `\n\n ### [patchVersion](#/c:objc(cs)IMAVersion(py)patchVersion)\n\n `\n ` \n Patch version. \n\n #### Declaration\n\n Swift \n\n var patchVersion: Int { get set }\n\n Objective-C \n\n @property (nonatomic) NSInteger patchVersion;"]]