com.applovin.mediation.AppLovinMediationAdapterConfig |
This interface describes an object that contains adapter configuration. Created by basil on 12/7/16.
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 |
Get a boolean
value from the adapter configuration
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. |
defaultValue
. Note that the result may be null.
Get a boolean
value from the adapter configuration
key | Key to get the value for. Must not be null. |
---|
false
by default.
Get a int
value from the adapter configuration
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. |
defaultValue
.
Get a long
value from the adapter configuration
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. |
defaultValue
.
Get a String
value from the adapter configuration
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. |
defaultValue
.