Firebase Remote Configuration

class FirebaseRemoteConfiguration(@XmlRes val defaultValues: Int?, val interval: Long?) : DevRemoteConfig

Firebase Remote Config Implementation

Author

Jimly A.

Since

12-Nov-21

Constructors

Link copied to clipboard
fun FirebaseRemoteConfiguration(@XmlRes defaultValues: Int?, interval: Long?)

Functions

Link copied to clipboard
open override fun fetch(listener: (Boolean) -> Unit)

method to fetch value

Link copied to clipboard
open override fun get(key: String): FirebaseValue

method to get value from given key

Properties

Link copied to clipboard
open override val defaultValues: Int?

Xml Resource of the default values for key from remote configuration

Link copied to clipboard
open override val interval: Long?

how long in seconds to fetch new values

Link copied to clipboard
open override val remoteConfig: FirebaseRemoteConfig

instance of Firebase.remoteConfig

Sources

Link copied to clipboard