setAccessibilityFocused

Sets whether this node is accessibility focused.

Note: Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Parameters

focused

True if the node is accessibility focused.

Throws

If called from an AccessibilityService.