SettingsDelegate

class SettingsDelegate<T>(defaultValue: T, name: String?, settings: SettingsAPI) : ReadWriteProperty<Any, T>

Constructors

Link copied to clipboard
constructor(defaultValue: T, name: String?, settings: SettingsAPI)

Functions

Link copied to clipboard
open operator override fun getValue(thisRef: Any?, property: KProperty<*>): T
Link copied to clipboard
open operator override fun setValue(thisRef: Any?, property: KProperty<*>, value: T)