| com.google.firebase.remoteconfig.FirebaseRemoteConfigValue |
Wrapper for a Remote Config parameter value, with methods to get it as different types.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value as a
boolean. | |||||||||||
Gets the value as a
byte[]. | |||||||||||
Gets the value as a
double. | |||||||||||
Gets the value as a
long. | |||||||||||
Gets the value as a
String. | |||||||||||
Indicates at which source this value came from.
| |||||||||||
Gets the value as a boolean.
boolean representation of this parameter value.| IllegalArgumentException | If the value cannot be converted to a boolean.
|
|---|
Gets the value as a byte[].
byte[] representation of this parameter value.
Gets the value as a double.
double representation of this parameter value.| IllegalArgumentException | If the value cannot be converted to a double.
|
|---|
Gets the value as a long.
long representation of this parameter value.| IllegalArgumentException | If the value cannot be converted to a long.
|
|---|
Gets the value as a String.
String representation of this parameter value.
Indicates at which source this value came from.
VALUE_SOURCE_REMOTE if the value was retrieved from the
server, VALUE_SOURCE_DEFAULT if the value was set as a
default, or VALUE_SOURCE_STATIC if no value was found
and a static default value was returned instead.