- firebase.
- remoteConfig.
- Value
Wraps a value with metadata and type-safe getters.
Index
Methods
asBoolean
- as
Boolean():boolean Gets the value as a boolean.
The following values (case insensitive) are interpreted as true:"1", "true", "t", "yes", "y", "on". Other values are interpreted as false.
Returnsboolean
asNumber
- as
Number():number Gets the value as a number. Comparable to calling
Number(value) || 0.Returnsnumber
asString
- as
String():string Gets the value as a string.
Returnsstring
getSource
- get
Source():ValueSource Gets theValueSource for the given key.
ReturnsValueSource
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 2022-07-27 UTC.