{% setvar book_path %}/admob/android/_book.yaml{% endsetvar %} {% include "/admob/android/reference/_dackka-meta-tags.html" %}

VersionInfo

{% setvar page_path %}com/google/android/gms/ads/mediation/VersionInfo.html{% endsetvar %} {% setvar doc_root_path %}/admob/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

class VersionInfo : VersionInfo

kotlin.Any
   ↳ com.google.android.gms.ads.VersionInfo
     ↳ com.google.android.gms.ads.mediation.VersionInfo

Version info for adapters and for third party SDKs.

Summary

Public constructors

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

Creates a new VersionInfo object that will contain the version of an rtb adapter or third party SDK.

Inherited functions

From com.google.android.gms.ads.VersionInfo
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 that will contain the version of an rtb adapter or third party SDK.