| java.lang.Object | |
| ↳ | com.google.firebase.remoteconfig.KeysAndValues.Builder |
Builder class for KeysAndValues using which values will be assigned to private variables.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Builder() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| KeysAndValues |
build()
Creates an instance of KeysAndValues with the values assigned through
builder.
| ||||||||||
| KeysAndValues.Builder |
put(String key, double value)
Adds a context data with double value.
| ||||||||||
| KeysAndValues.Builder |
put(String key, long value)
Adds a context data with long value.
| ||||||||||
| KeysAndValues.Builder |
put(String key, String value)
Adds a context data with string value.
| ||||||||||
| KeysAndValues.Builder |
put(String key, boolean value)
Adds a context data with boolean value.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates an instance of KeysAndValues with the values assigned through builder.
Adds a context data with double value.
| key | Identifies the value in context. |
|---|---|
| value | Value assigned to the context. |
Adds a context data with long value.
| key | Identifies the value in context. |
|---|---|
| value | Value assigned to the context. |
Adds a context data with string value.
| key | Identifies the value in context. |
|---|---|
| value | Value assigned to the context. |
Adds a context data with boolean value.
| key | Identifies the value in context. |
|---|---|
| value | Value assigned to the context. |