FirebaseRemoteConfigSettings.Builder

class FirebaseRemoteConfigSettings.Builder


Builder for a FirebaseRemoteConfigSettings.

Summary

Public constructors

Public functions

FirebaseRemoteConfigSettings

Returns a FirebaseRemoteConfigSettings with the settings provided to this builder.

Long

Returns the minimum interval between successive fetches calls in seconds.

FirebaseRemoteConfigSettings.Builder

Sets the minimum interval between successive fetch calls.

Public properties

Long

Public constructors

Builder

Builder()

Public functions

build

fun build(): FirebaseRemoteConfigSettings

Returns a FirebaseRemoteConfigSettings with the settings provided to this builder.

getMinimumFetchIntervalInSeconds

fun getMinimumFetchIntervalInSeconds(): Long

Returns the minimum interval between successive fetches calls in seconds.

setMinimumFetchIntervalInSeconds

fun setMinimumFetchIntervalInSeconds(duration: Long): FirebaseRemoteConfigSettings.Builder

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.

Parameters
duration: Long

Interval duration in seconds. Should be a non-negative number.

Public properties

fetchTimeoutInSeconds

var fetchTimeoutInSecondsLong