RemoteConfigRepository

Functions

Link copied to clipboard
abstract suspend fun ensureConfigInitialized()
Link copied to clipboard
abstract suspend fun ensureConfigIsActivated()

Suspends execution until the fetched config is activated. Returns immediately if config is already activated. The different version of config can be activated only after application restart.

Link copied to clipboard
abstract fun getBoolean(key: String, defaultValue: Boolean): Boolean
Link copied to clipboard
abstract fun getDouble(key: String, defaultValue: Double): Double
Link copied to clipboard
abstract fun getLong(key: String, defaultValue: Long): Long
Link copied to clipboard
abstract fun getString(key: String, defaultValue: String): String