Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-06-17 UTC."],[],[],null,["# Firebase.RemoteConfig.ConfigValue Struct Reference\n\nFirebase.RemoteConfig.ConfigValue\n=================================\n\nWrapper 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.\n\nSummary\n-------\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BooleanValue](#struct_firebase_1_1_remote_config_1_1_config_value_1a5db8544200e2b5f4b3ed0970a6cb0465) | `bool` Gets the value as a bool. |\n| [ByteArrayValue](#struct_firebase_1_1_remote_config_1_1_config_value_1a607b9243b637d3805d1620e2386e157b) | `System.Collections.Generic.IEnumerable\u003c byte \u003e` Gets the value as an IEnumerable of byte. |\n| [DoubleValue](#struct_firebase_1_1_remote_config_1_1_config_value_1a608cce4d1921a2f45d8082db723848bf) | `double` Gets the value as a double. |\n| [LongValue](#struct_firebase_1_1_remote_config_1_1_config_value_1a87920e3217816b81ae20a964df6a64d1) | `long` Gets the value as a long. |\n| [Source](#struct_firebase_1_1_remote_config_1_1_config_value_1ad01d2ad869cf5afd2a84902ee7ca5689) | [ValueSource](/docs/reference/unity/namespace/firebase/remote-config#namespace_firebase_1_1_remote_config_1a2f4f400ab2b2d9f09a147439cd0c5ca2) Indicates which source this value came from. |\n| [StringValue](#struct_firebase_1_1_remote_config_1_1_config_value_1a8d1cc34954f656aac89a4f3e6bde5116) | `string` Gets the value as a string. |\n\nProperties\n----------\n\n### BooleanValue\n\n```c#\nbool Firebase::RemoteConfig::ConfigValue::BooleanValue\n``` \nGets the value as a bool.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| Exceptions | |--------------------------|-------------------------------------------| | `System.FormatException` | if the data fails be converted to a bool. | |\n| **Returns** | Bool representation of this parameter value. |\n\n### ByteArrayValue\n\n```c#\nSystem.Collections.Generic.IEnumerable\u003c byte \u003e Firebase::RemoteConfig::ConfigValue::ByteArrayValue\n``` \nGets the value as an IEnumerable of byte.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-------------------------------------------------------------|\n| **Returns** | IEnumerable of byte representation of this parameter value. |\n\n### DoubleValue\n\n```c#\ndouble Firebase::RemoteConfig::ConfigValue::DoubleValue\n``` \nGets the value as a double.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Exceptions | |--------------------------|---------------------------------------------| | `System.FormatException` | if the data fails be converted to a double. | |\n| **Returns** | Double representation of this parameter value. |\n\n### LongValue\n\n```c#\nlong Firebase::RemoteConfig::ConfigValue::LongValue\n``` \nGets the value as a long.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| Exceptions | |--------------------------|-------------------------------------------| | `System.FormatException` | if the data fails be converted to a long. | |\n| **Returns** | Long representation of this parameter value. |\n\n### Source\n\n```c#\nValueSource Firebase::RemoteConfig::ConfigValue::Source\n``` \nIndicates which source this value came from.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| **Returns** | The ValueSource corresponding to where the value came from, either the server, the default value provided, or static, if neither. |\n\n### StringValue\n\n```c#\nstring Firebase::RemoteConfig::ConfigValue::StringValue\n``` \nGets the value as a string.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|------------------------------------------------|\n| **Returns** | String representation of this parameter value. |"]]