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

int: the way the selection was triggered. Value is one of the following: INVOCATION_MANUAL INVOCATION_LINK INVOCATION_UNKNOWN

start
Int32

int: the index of the selected text

Returns

This value cannot be null.

Attributes

Remarks

Creates a "selection started" event.

Android reference for android.view.textclassifier.SelectionEvent.createSelectionStartedEvent.

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