| java.lang.Object | |
| ↳ | com.google.firebase.remoteconfig.Parameter |
Represents a Remote Config parameter that can be included in a Template.
At minimum, a default value or a conditional value must be present for the
parameter to have any effect.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Parameter()
Creates a new
Parameter. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| Map<String, ParameterValue> |
getConditionalValues()
Gets the conditional values of the parameter.
| ||||||||||
| ParameterValue |
getDefaultValue()
Gets the default value of the parameter.
| ||||||||||
| String |
getDescription()
Gets the description of the parameter.
| ||||||||||
| int | hashCode() | ||||||||||
| Parameter |
setConditionalValues(Map<String, ParameterValue> conditionalValues)
Sets the conditional values of the parameter.
| ||||||||||
| Parameter |
setDefaultValue(ParameterValue value)
Sets the default value of the parameter.
| ||||||||||
| Parameter |
setDescription(String description)
Sets the description of the parameter.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the conditional values of the parameter.
The condition name of the highest priority (the one listed first in the
Template's conditions list) determines the value of this parameter.
Gets the default value of the parameter.
ParameterValue instance or null.
Gets the description of the parameter.
Sets the default value of the parameter. This is the value to set the parameter to, when none of the named conditions evaluate to true.
| value | An ParameterValue instance. |
|---|
Parameter.
Sets the description of the parameter. Should not be over 100 characters and may contain any Unicode characters.
| description | The description of the parameter. |
|---|
Parameter.