getConfig

abstract suspend fun getConfig(timeout: Long?, getConfigRequest: GetConfigRequest): GetConfigResult

Requests a configuration value which was defined externally (e.g. via Firebase). Note that the value will always be returned as a string, regardless of the actual type.

Parameters

timeout

The timeout of getConfig in milliseconds or null if no timeout should be used

getConfigRequest

The getConfig request body object