| java.lang.Object | |
| ↳ | com.google.firebase.remoteconfig.ServerConfig |
Represents the configuration produced by evaluating a server template.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
getBoolean(String key)
Gets the value for the given key as a boolean.Convenience method for calling
serverConfig.getValue(key).asBoolean().
| ||||||||||
| double |
getDouble(String key)
Gets the value for the given key as double.Convenience method for calling
serverConfig.getValue(key).asDouble().
| ||||||||||
| long |
getLong(String key)
Gets the value for the given key as long.Convenience method for calling
serverConfig.getValue(key).asLong().
| ||||||||||
| String |
getString(String key)
Gets the value for the given key as a string.
| ||||||||||
| ValueSource |
getValueSource(String key)
Gets the
ValueSource for the given key. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the value for the given key as a boolean.Convenience method for calling serverConfig.getValue(key).asBoolean().
| key | The name of the parameter. |
|---|
Gets the value for the given key as double.Convenience method for calling serverConfig.getValue(key).asDouble().
| key | The name of the parameter. |
|---|
Gets the value for the given key as long.Convenience method for calling serverConfig.getValue(key).asLong().
| key | The name of the parameter. |
|---|
Gets the value for the given key as a string. Convenience method for calling serverConfig.getValue(key).asString().
| key | The name of the parameter. |
|---|
Gets the ValueSource for the given key.
| key | The name of the parameter. |
|---|