语言

SelectionEvent.IsTerminal(SelectionEventType) 方法

定义

如果 eventType 是终端事件类型,则返回 true。

[Android.Runtime.Register("isTerminal", "(I)Z", "", ApiSince=28)]
public static bool IsTerminal(Android.Views.TextClassifiers.SelectionEventType eventType);
[<Android.Runtime.Register("isTerminal", "(I)Z", "", ApiSince=28)>]
static member IsTerminal : Android.Views.TextClassifiers.SelectionEventType -> bool

参数

eventType
SelectionEventType

int:值为下列值之一:ACTION_OVERTYPE ACTION_COPY ACTION_PASTE ACTION_CUT ACTION_SHARE ACTION_SMART_SHARE ACTION_DRAG ACTION_ABANDON ACTION_OTHER ACTION_SELECT_ALL ACTION_RESET EVENT_SELECTION_STARTED EVENT_SELECTION_MODIFIED EVENT_SMART_SELECTION_SINGLE EVENT_SMART_SELECTION_MULTI EVENT_AUTO_SELECTION

返回

特性

注解

如果 eventType 是终端事件类型,则返回 true。 否则返回 false。 终端事件是结束选择交互的事件。

Android 参考。android.view.textclassifier.SelectionEvent.isTerminal

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于