Added in API level 1
PreferenceChangeListener
@FunctionalInterface interface PreferenceChangeListener : EventListener
java.util.prefs.PreferenceChangeListener |
A listener for receiving preference change events.
Summary
Public methods | |
---|---|
abstract Unit |
This method gets called when a preference is added, removed or when its value is changed. |
Public methods
preferenceChange
Added in API level 1
abstract fun preferenceChange(evt: PreferenceChangeEvent!): Unit
This method gets called when a preference is added, removed or when its value is changed.
Parameters | |
---|---|
evt |
PreferenceChangeEvent!: A PreferenceChangeEvent object describing the event source and the preference that has changed. |