Firebase. RemoteConfig. ConfigValue
Wrapper for a Remote Config parameter value, with methods to get it as different types, such as bools and doubles, along with information about where the data came from.
Summary
Properties | |
---|---|
BooleanValue | bool Gets the value as a bool. |
ByteArrayValue | System.Collections.Generic.IEnumerable< byte > Gets the value as an IEnumerable of byte. |
DoubleValue | double Gets the value as a double. |
LongValue | long Gets the value as a long. |
Source | Indicates which source this value came from. |
StringValue | string Gets the value as a string. |
Properties
BooleanValue
boolFirebase::RemoteConfig::ConfigValue::BooleanValue
Gets the value as a bool.
Details | |||
---|---|---|---|
Exceptions |
| ||
Returns | Bool representation of this parameter value. |
ByteArrayValue
System.Collections.Generic.IEnumerable<byte>Firebase::RemoteConfig::ConfigValue::ByteArrayValue
Gets the value as an IEnumerable of byte.
Details | |
---|---|
Returns | IEnumerable of byte representation of this parameter value. |
DoubleValue
doubleFirebase::RemoteConfig::ConfigValue::DoubleValue
Gets the value as a double.
Details | |||
---|---|---|---|
Exceptions |
| ||
Returns | Double representation of this parameter value. |
LongValue
longFirebase::RemoteConfig::ConfigValue::LongValue
Gets the value as a long.
Details | |||
---|---|---|---|
Exceptions |
| ||
Returns | Long representation of this parameter value. |
Source
ValueSourceFirebase::RemoteConfig::ConfigValue::Source
Indicates which source this value came from.
Details | |
---|---|
Returns | The ValueSource corresponding to where the value came from, either the server, the default value provided, or static, if neither. |
StringValue
stringFirebase::RemoteConfig::ConfigValue::StringValue
Gets the value as a string.
Details | |
---|---|
Returns | String representation of this parameter value. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.