setBoundsInScreen

open fun setBoundsInScreen(bounds: Rect)(source)

Sets the node bounds in screen coordinates.

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

Parameters

bounds

The node bounds.

Throws

If called from an AccessibilityService.