SettingsChangeListenerClient

A client that listens to changes in the extension's Settings.

Functions

Link copied to clipboard
abstract suspend fun getSettingItems(): List<Setting>

List of Settings to be displayed in the settings screen

Link copied to clipboard
abstract suspend fun onSettingsChanged(settings: Settings, key: String?)

Called when the extension's Settings have changed or when a Setting has been clicked.

Link copied to clipboard
abstract fun setSettings(settings: Settings)

Called when the extension is initialized, to provide the Settings to the extension