public interface

AppLovinMediationAdapterConfig

com.applovin.mediation.AppLovinMediationAdapterConfig

Class Overview

This interface describes an object that contains adapter configuration. Created by basil on 12/7/16.

Summary

Public Methods
abstract Boolean getBoolean(String key, Boolean defaultValue)
Get a boolean value from the adapter configuration
abstract boolean getBoolean(String key)
Get a boolean value from the adapter configuration
abstract int getInt(String key, int defaultValue)
Get a int value from the adapter configuration
abstract long getLong(String key, long defaultValue)
Get a long value from the adapter configuration
abstract String getString(String key, String defaultValue)
Get a String value from the adapter configuration

Public Methods

public abstract Boolean getBoolean (String key, Boolean defaultValue)

Get a boolean value from the adapter configuration

Parameters
key Key to get the value for. Must not be null.
defaultValue Value to return if the key is not present or the value is not parsable.
Returns
  • Currently configured value or defaultValue. Note that the result may be null.

public abstract boolean getBoolean (String key)

Get a boolean value from the adapter configuration

Parameters
key Key to get the value for. Must not be null.
Returns
  • Currently configured value or false by default.

public abstract int getInt (String key, int defaultValue)

Get a int value from the adapter configuration

Parameters
key Key to get the value for. Must not be null.
defaultValue Value to return if the key is not present or the value is not parsable.
Returns
  • Currently configured value or defaultValue.

public abstract long getLong (String key, long defaultValue)

Get a long value from the adapter configuration

Parameters
key Key to get the value for. Must not be null.
defaultValue Value to return if the key is not present or the value is not parsable.
Returns
  • Currently configured value or defaultValue.

public abstract String getString (String key, String defaultValue)

Get a String value from the adapter configuration

Parameters
key Key to get the value for. Must not be null.
defaultValue Value to return if the key is not present or the value is not parsable. May be null.
Returns
  • Currently configured value or defaultValue.