VersionInfo

class VersionInfo

Known direct subclasses
VersionInfo

This class is deprecated.

Use com.google.android.gms.ads.VersionInfo.


Version info for Google Mobile Ads SDK.

Summary

Public constructors

VersionInfo(majorVersion: Int, minorVersion: Int, microVersion: Int)

Creates a new VersionInfo object.

Public functions

Int

Gets the major version.

Int

Gets the micro version.

Int

Gets the minor version.

String!

Returns a semantic versioning string of this object with the format majorVersion.minorVersion.microVersion.

Public constructors

VersionInfo

VersionInfo(majorVersion: Int, minorVersion: Int, microVersion: Int)

Creates a new VersionInfo object.

Public functions

getMajorVersion

fun getMajorVersion(): Int

Gets the major version.

getMicroVersion

fun getMicroVersion(): Int

Gets the micro version.

getMinorVersion

fun getMinorVersion(): Int

Gets the minor version.

toString

fun toString(): String!

Returns a semantic versioning string of this object with the format majorVersion.minorVersion.microVersion.