setChecked
Sets the checked state of this node. This is only meaningful when isCheckable returns true
.
Note: Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.
Parameters
checked
The checked state. One of
See also
Throws
If called from an AccessibilityService.
if checked
is not one of CHECKED_STATE_FALSE, CHECKED_STATE_TRUE, or CHECKED_STATE_PARTIAL.
Deprecated
Use setChecked instead.
Sets whether this node is checked.
Note: Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.
Parameters
checked
True if the node is checked.
Throws
If called from an AccessibilityService.