setTextSelection

open fun setTextSelection(start: Int, end: Int)(source)

Sets the text selection start and end.

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

Parameters

start

The text selection start.

end

The text selection end.

Throws

If called from an AccessibilityService.