GoogleInteractiveMediaAds Framework Reference

  • IMAVersion is an object that represents a version number, divided into major, minor, and patch components.

  • It provides properties (majorVersion, minorVersion, patchVersion) to access and modify each individual part of the version.

  • This class is primarily used for managing and comparing versions within the IMA SDK.

  • Developers can retrieve or set the version values using the corresponding properties in both Swift and Objective-C.

IMAVersion

@interface IMAVersion : NSObject
/** Major version. */
@property(nonatomic) NSInteger majorVersion;
/** Minor version. */
@property(nonatomic) NSInteger minorVersion;
/** Patch version. */
@property(nonatomic) NSInteger patchVersion;
@end

Undocumented

  • Major version.

    Declaration

    Swift

    var majorVersion: Int { get set }

    Objective-C

    @property (nonatomic) NSInteger majorVersion;
  • Minor version.

    Declaration

    Swift

    var minorVersion: Int { get set }

    Objective-C

    @property (nonatomic) NSInteger minorVersion;
  • Patch version.

    Declaration

    Swift

    var patchVersion: Int { get set }

    Objective-C

    @property (nonatomic) NSInteger patchVersion;