setEnabled

open fun setEnabled(isEnabled: Boolean)(source)

Deprecated

Use isEnabled directly.

Sets if the source is enabled.

Parameters

isEnabled

True if the view is enabled, false otherwise.

Throws

If called from an AccessibilityService.