getAnyValue

abstract suspend fun getAnyValue(key: String, defaultValue: Any?, user: ConfigCatUser?): Any?(source)

Gets the value of a feature flag or setting as Any identified by the given key.

Parameters

key

the identifier of the feature flag or setting.

defaultValue

in case of any failure, this value will be returned.

user

the user object.