ITextClassifier.OnSelectionEvent(SelectionEvent) Method

Definition

<strong>NOTE: </strong>Use #onTextClassifierEvent(TextClassifierEvent) instead.

[Android.Runtime.Register("onSelectionEvent", "(Landroid/view/textclassifier/SelectionEvent;)V", "GetOnSelectionEvent_Landroid_view_textclassifier_SelectionEvent_Handler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public virtual void OnSelectionEvent (Android.Views.TextClassifiers.SelectionEvent e);
[<Android.Runtime.Register("onSelectionEvent", "(Landroid/view/textclassifier/SelectionEvent;)V", "GetOnSelectionEvent_Landroid_view_textclassifier_SelectionEvent_Handler:Android.Views.TextClassifiers.ITextClassifier, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member OnSelectionEvent : Android.Views.TextClassifiers.SelectionEvent -> unit
override this.OnSelectionEvent : Android.Views.TextClassifiers.SelectionEvent -> unit

Parameters

Attributes

Remarks

<strong>NOTE: </strong>Use #onTextClassifierEvent(TextClassifierEvent) instead.

Reports a selection event.

<strong>NOTE: </strong>If a TextClassifier has been destroyed, calls to this method should throw an IllegalStateException. See #isDestroyed().

Java documentation for android.view.textclassifier.TextClassifier.onSelectionEvent(android.view.textclassifier.SelectionEvent).

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