Share via


SelectionEvent.CreateSelectionStartedEvent Method

Definition

Creates a "selection started" event.

[Android.Runtime.Register("createSelectionStartedEvent", "(II)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)]
public static Android.Views.TextClassifiers.SelectionEvent CreateSelectionStartedEvent (Android.Views.TextClassifiers.SelectionInvocationMethod invocationMethod, int start);
[<Android.Runtime.Register("createSelectionStartedEvent", "(II)Landroid/view/textclassifier/SelectionEvent;", "", ApiSince=28)>]
static member CreateSelectionStartedEvent : Android.Views.TextClassifiers.SelectionInvocationMethod * int -> Android.Views.TextClassifiers.SelectionEvent

Parameters

invocationMethod
SelectionInvocationMethod

the way the selection was triggered

start
Int32

the index of the selected text

Returns

Attributes

Remarks

Creates a "selection started" event.

Java documentation for android.view.textclassifier.SelectionEvent.createSelectionStartedEvent(int, int).

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