public class

AppLovinMediationAdapterInfo

extends Object
java.lang.Object
   ↳ com.applovin.mediation.AppLovinMediationAdapterInfo

Class Overview

Created by thomasso on 7/5/17.

This class contains information about an AppLovin mediation adapter.

Summary

Public Constructors
AppLovinMediationAdapterInfo(String name, String className, String version, AppLovinMediationAdapterStatus status)
Create a new information about a mediation adapter
AppLovinMediationAdapterInfo(String name, String className, String version, AppLovinMediationAdapterStatus status, AppLovinMediationAdapter adapter, AppLovinMediationAdapterConfig configuration)
Create a new information about a mediation adapter
Public Methods
AppLovinMediationAdapter getAdapter()
Implementation of the adapter.
AppLovinMediationAdapterConfig getAdapterConfiguration()
Get last known configuration of the adapter.
String getClassName()
Full class name of adapter's implementation class.
String getName()
Adapter's name
AppLovinMediationAdapterStatus getStatus()
Adapter's status.
String getVersion()
Get the current version of the third-party SDK
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AppLovinMediationAdapterInfo (String name, String className, String version, AppLovinMediationAdapterStatus status)

Create a new information about a mediation adapter

Parameters
name Adapter name. Must not be null.
className Adapter implementation class name. Must not be null.
version Adapter's SDK version. May be null: some SDKs do not expose their version publicly.
status Current status of the adapter implementation. Must not be null.

public AppLovinMediationAdapterInfo (String name, String className, String version, AppLovinMediationAdapterStatus status, AppLovinMediationAdapter adapter, AppLovinMediationAdapterConfig configuration)

Create a new information about a mediation adapter

Parameters
name Adapter name. Must not be null.
className Adapter implementation class name. Must not be null.
version Adapter's SDK version. May be null: some SDKs do not expose their version publicly.
status Current status of the adapter implementation. Must not be null.
adapter Adapter implementation. May be null: in that case adapter is considered not loaded.
configuration Last known configuration of the adapter. May be null: in that case adapter is considered not loaded.

Public Methods

public AppLovinMediationAdapter getAdapter ()

Implementation of the adapter. The implementation may be null if loading failed

Returns
  • Adapter implementation. May be null.

public AppLovinMediationAdapterConfig getAdapterConfiguration ()

Get last known configuration of the adapter.

Returns
  • Last now configuration of the adapter. May be null.

public String getClassName ()

Full class name of adapter's implementation class.

Returns
  • Adapter's implementation class. Guaranteed not to be null.

public String getName ()

Adapter's name

Returns
  • Name of the adapter. Guaranteed not to be null.

public AppLovinMediationAdapterStatus getStatus ()

Adapter's status.

Returns
  • Status of the adapter at the time the object was created.

public String getVersion ()

Get the current version of the third-party SDK

Returns
  • Current version of the third-party SDK or null if none is available

public String toString ()