Builder for a FirebaseRemoteConfigSettings.
| FirebaseRemoteConfigSettings |
build()
Returns a
FirebaseRemoteConfigSettings with the settings provided to this builder. |
| long |
getFetchTimeoutInSeconds()
Returns the fetch timeout in seconds.
|
| long |
getMinimumFetchIntervalInSeconds()
Returns the minimum interval between successive fetches calls in seconds.
|
| FirebaseRemoteConfigSettings.Builder |
setFetchTimeoutInSeconds(long duration)
Sets the connection and read timeouts for fetch requests to the Firebase Remote Config
servers in seconds.
|
| FirebaseRemoteConfigSettings.Builder |
setMinimumFetchIntervalInSeconds(long duration)
Sets the minimum interval between successive fetch calls.
|
Returns a FirebaseRemoteConfigSettings with the settings provided to this builder.
Returns the fetch timeout in seconds.
The timeout specifies how long the client should wait for a connection to the Firebase Remote Config servers.
Returns the minimum interval between successive fetches calls in seconds.
Sets the connection and read timeouts for fetch requests to the Firebase Remote Config servers in seconds.
A fetch call will fail if it takes longer than the specified timeout to connect to or read from the Remote Config servers.
| duration | Timeout duration in seconds. Should be a non-negative number. |
|---|
| IllegalArgumentException |
|---|
Sets the minimum interval between successive fetch calls.
Fetches less than duration seconds after the last fetch from the Firebase Remote
Config server would use values returned during the last fetch.
| duration | Interval duration in seconds. Should be a non-negative number. |
|---|