Share via


SelectionEvent 類別

定義

選取事件。

[Android.Runtime.Register("android/view/textclassifier/SelectionEvent", ApiSince=28, DoNotGenerateAcw=true)]
public sealed class SelectionEvent : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/textclassifier/SelectionEvent", ApiSince=28, DoNotGenerateAcw=true)>]
type SelectionEvent = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
繼承
SelectionEvent
屬性
實作

備註

選取事件。 將索引參數指定為文字標記索引。

android.view.textclassifier.SelectionEvent JAVA 檔。

此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。

欄位

ActionAbandon
已淘汰.

使用者放棄選取範圍。

ActionCopy
已淘汰.

使用者複製選取範圍。

ActionCut
已淘汰.

使用者剪下選取範圍。

ActionDrag
已淘汰.

使用者拖曳+卸載選取範圍。

ActionOther
已淘汰.

使用者對選取範圍執行動作。

ActionOvertype
已淘汰.

使用者輸入選取範圍。

ActionPaste
已淘汰.

使用者貼上選取範圍。

ActionReset
已淘汰.

使用者重設智慧選取範圍。

ActionSelectAll
已淘汰.

使用者啟用 [全部選取]

ActionShare
已淘汰.

使用者共用選取範圍。

ActionSmartShare
已淘汰.

使用者已按一下 textAssist 功能表項目。

EventAutoSelection
已淘汰.

使用者以外的其他專案或預設 TextClassifier 觸發選取範圍。

EventSelectionModified
已淘汰.

使用者修改了現有的選取範圍。

EventSelectionStarted
已淘汰.

使用者已啟動新的選取專案。

EventSmartSelectionMulti
已淘汰.

智慧型選取會觸發跨越多個權杖 (單字) 。

EventSmartSelectionSingle
已淘汰.

單一標記所觸發的智慧選取專案 (單字) 。

InvocationLink
已淘汰.

選取是由使用者點選連結所叫用。

InvocationManual
已淘汰.

選取專案是由使用者長時間按下、按兩下或拖曳來選取。

InvocationUnknown
已淘汰.

未知的調用方法

屬性

Class

傳回這個 Object 的執行時間類別。

(繼承來源 Object)
Creator

選取事件。

DurationSincePreviousEvent

傳回觸發此事件時和觸發選取會話中上一個事件之間的持續時間。

DurationSinceSessionStart

傳回當觸發此事件時,以及觸發選取會話中第一個事件之間的持續時間。

End

傳回這個事件的結束索引,相對於選取會話中開始選取事件的索引。

EntityType

傳回與此事件相關聯的實體類型。

EventIndex

傳回索引 (e.

EventTime

傳回觸發此事件的時間。

EventType

傳回觸發的事件種類。

Handle

基礎 Android 實例的控制碼。

(繼承來源 Object)
InvocationMethod

傳回叫用選取模式的方式。

JniIdentityHashCode

選取事件。

(繼承來源 Object)
JniPeerMembers

選取事件。

PackageName

傳回此事件源自的應用程式套件名稱。

PeerReference

選取事件。

(繼承來源 Object)
ResultId

傳回與此事件相關聯的文字分類器結果識別碼。

SessionId

傳回選取範圍會話識別碼。

SmartEnd

傳回這個事件的結束索引,相對於選取會話中智慧選取事件的索引。

SmartStart

傳回這個事件的開始索引,相對於選取會話中智慧選取事件的索引。

Start

傳回這個事件的開始索引,相對於選取會話中開始選取事件的索引。

ThresholdClass

此 API 支援 Mono for Android 基礎結構,並不適合直接從您的程式碼使用。

(繼承來源 Object)
ThresholdType

此 API 支援 Mono for Android 基礎結構,並不適合直接從您的程式碼使用。

(繼承來源 Object)
WidgetType

傳回觸發此事件時所涉及的小工具類型。

WidgetVersion

傳回觸發此事件之小工具的字串版本資訊。

方法

Clone()

建立並傳回這個 物件的複本。

(繼承來源 Object)
CreateSelectionActionEvent(Int32, Int32, SelectionAction)

建立事件,指定選取範圍所採取的動作。

CreateSelectionActionEvent(Int32, Int32, SelectionAction, TextClassification)

建立事件,指定選取範圍所採取的動作。

CreateSelectionModifiedEvent(Int32, Int32)

建立「已修改選取範圍」事件。

CreateSelectionModifiedEvent(Int32, Int32, TextClassification)

建立「已修改選取範圍」事件。

CreateSelectionModifiedEvent(Int32, Int32, TextSelection)

建立「已修改選取範圍」事件。

CreateSelectionStartedEvent(SelectionInvocationMethod, Int32)

建立「已啟動選取專案」事件。

DescribeContents()

選取事件。

Dispose()

選取事件。

(繼承來源 Object)
Dispose(Boolean)

選取事件。

(繼承來源 Object)
Equals(Object)

指出其他物件是否「等於」這個物件。

(繼承來源 Object)
GetHashCode()

傳回此物件的雜湊碼值。

(繼承來源 Object)
IsTerminal(SelectionEventType)

如果 eventType 是終端機事件種類,則傳回 true。

JavaFinalize()

當垃圾收集判斷物件沒有其他參考時,由物件上的垃圾收集行程呼叫。

(繼承來源 Object)
Notify()

喚醒正在等候此物件的監視器的單一線程。

(繼承來源 Object)
NotifyAll()

喚醒正在等候此物件監視器的所有線程。

(繼承來源 Object)
SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

(繼承來源 Object)
ToArray<T>()

選取事件。

(繼承來源 Object)
ToString()

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

選取事件。

(繼承來源 Object)
Wait()

讓目前的執行緒等到喚醒為止,通常是藉由 < em > notified < /em > 或 < em > interrupted < /em > 來喚醒。

(繼承來源 Object)
Wait(Int64)

讓目前的執行緒等到喚醒為止,通常是 < 透過 em > notified < /em 或 em > interrupted < /em >> ,或 < 直到經過一定數量的即時為止。

(繼承來源 Object)
Wait(Int64, Int32)

讓目前的執行緒等到喚醒為止,通常是 < 透過 em > notified < /em 或 em > interrupted < /em >> ,或 < 直到經過一定數量的即時為止。

(繼承來源 Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

選取事件。

明確介面實作

IJavaPeerable.Disposed()

選取事件。

(繼承來源 Object)
IJavaPeerable.DisposeUnlessReferenced()

選取事件。

(繼承來源 Object)
IJavaPeerable.Finalized()

選取事件。

(繼承來源 Object)
IJavaPeerable.JniManagedPeerState

選取事件。

(繼承來源 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

選取事件。

(繼承來源 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

選取事件。

(繼承來源 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

選取事件。

(繼承來源 Object)

擴充方法

JavaCast<TResult>(IJavaObject)

執行 Android 執行時間檢查的類型轉換。

JavaCast<TResult>(IJavaObject)

選取事件。

GetJniTypeName(IJavaPeerable)

選取事件。

適用於