VersionInfo
Stay organized with collections
Save and categorize content based on your preferences.
This class is deprecated.
Use VersionInfo
.
Version info for adapters and for third party SDKs.
Public Constructor Summary
|
VersionInfo(int majorVersion, int minorVersion, int microVersion)
Creates a new VersionInfo object that will contain the version of an rtb
adapter or third party SDK.
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public VersionInfo (int majorVersion, int
minorVersion, int microVersion)
Creates a new VersionInfo object that will contain the version of an rtb adapter or
third party SDK.
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 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`MediationAdConfiguration` provides data for rendering mediation ads, including app open, banner, interstitial, native, and rewarded ads."],["It includes parameters such as context, bid response, server parameters, mediation extras, and content rating."],["This class also handles flags for child-directed treatment and under-age treatment for COPPA and GDPR compliance."],["Developers can access the ad information, request type (test or not), and COPPA/GDPR treatment using public methods."],["The class has constants indicating whether an app should be treated as child-directed or under-age for ad serving."]]],["The `VersionInfo` class, now deprecated, is used to manage version information for adapters and third-party SDKs. It allows creating a `VersionInfo` object using `majorVersion`, `minorVersion`, and `microVersion` integers. The class provides methods to retrieve these individual version components. `toString()` returns a formatted version string, `major.minor.micro`. It is recommended to use `com.google.android.gms.ads.VersionInfo` instead of the deprecated class. The class also inherits methods from java.lang.Object.\n"]]