ConfigKey

data class ConfigKey(val id: String, val description: String, val valueType: ConfigValueType, val defaultValue: ConfigValue, val allowedValues: List<String>? = null)

A typed remote config key with a compiled-in default.

Unlike Novalingo's original version, this generic ConfigKey carries no built-in registry — apps own their own object AppConfigKeys { val ALL_KEYS = listOf(...) } and pass it to whatever debug override UI they build on top of RemoteConfigClient.allValues.

Constructors

Link copied to clipboard
constructor(id: String, description: String, valueType: ConfigValueType, defaultValue: ConfigValue, allowedValues: List<String>? = null)

Properties

Link copied to clipboard

When set, the value is constrained to this fixed set of well-known choices. A debug override UI can render a dropdown instead of a free-text field. Only meaningful for ConfigValueType.STRING keys.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard