Dev Remote Config

open class DevRemoteConfig(val defaultValues: Int? = null, val interval: Long? = null)

Base class for Remote Config Service

Author

Jimly A.

Since

12-Nov-21

Constructors

Link copied to clipboard
fun DevRemoteConfig(defaultValues: Int? = null, interval: Long? = null)

Functions

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

method to fetch value

Link copied to clipboard
open fun get(key: String): RemoteConfigValue?

method to get value from given key

Properties

Link copied to clipboard
open val defaultValues: Int? = null

XMl file for default values

Link copied to clipboard
open val interval: Long? = null

interval between fetching values

Link copied to clipboard
open val remoteConfig: Any? = null

Remote Config instance

Sources

Link copied to clipboard