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

bool Firebase::RemoteConfig::ConfigValue::BooleanValue

Gets the value as a bool.

Details
Exceptions
System.FormatException
if the data fails be converted to a bool.
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

double Firebase::RemoteConfig::ConfigValue::DoubleValue

Gets the value as a double.

Details
Exceptions
System.FormatException
if the data fails be converted to a double.
Returns
Double representation of this parameter value.

LongValue

long Firebase::RemoteConfig::ConfigValue::LongValue

Gets the value as a long.

Details
Exceptions
System.FormatException
if the data fails be converted to a long.
Returns
Long representation of this parameter value.

Source

ValueSource Firebase::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

string Firebase::RemoteConfig::ConfigValue::StringValue

Gets the value as a string.

Details
Returns
String representation of this parameter value.