AccessibilityNodeInfo.SetTextSelection(Int32, Int32) AccessibilityNodeInfo.SetTextSelection(Int32, Int32) Method

Definition

Sets the text selection start and end.

[Android.Runtime.Register("setTextSelection", "(II)V", "GetSetTextSelection_IIHandler", ApiSince=18)]
public virtual void SetTextSelection (int start, int end);
abstract member SetTextSelection : int * int -> unit
override this.SetTextSelection : int * int -> unit

Parameters

start
Int32 Int32

The text selection start.

end
Int32 Int32

The text selection end.

Exceptions

If called from an AccessibilityService.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to