VersionInfo

Stay organized with collections Save and categorize content based on your preferences.
public class VersionInfo extends Object
Known Direct Subclasses

Version info for Google Mobile Ads SDK.

Public Constructor Summary

VersionInfo(int majorVersion, int minorVersion, int microVersion)
Creates a new VersionInfo object.

Public Method Summary

int
getMajorVersion()
Gets the major version.
int
getMicroVersion()
Gets the micro version.
int
getMinorVersion()
Gets the minor version.
String
toString()
Returns a semantic versioning string of this object with the format majorVersion.minorVersion.microVersion.

Inherited Method Summary

Public Constructors

public VersionInfo (int majorVersion, int minorVersion, int microVersion)

Creates a new VersionInfo object.

Public Methods

public int getMajorVersion ()

Gets the major version.

public int getMicroVersion ()

Gets the micro version.

public int getMinorVersion ()

Gets the minor version.

public String toString ()

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