setEnabled

abstract fun setEnabled(enabled: Boolean)

Sets the setting value.

This method does nothing in case the setting is already in the specified state.

Parameters

enabled

true to enable the setting, false to disable it