ITextClassifier.OnSelectionEvent(SelectionEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<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()
.
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.