語言

InputConnectionWrapper.InterfaceConsts 類別

定義

public static class InputConnectionWrapper.InterfaceConsts
type InputConnectionWrapper.InterfaceConsts = class
繼承
InputConnectionWrapper.InterfaceConsts

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

欄位

名稱 Description
CursorUpdateFilterCharacterBounds
已淘汰.

請主編來電 InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 每當游標或錨點位置改變時, CursorAnchorInfo#getCharacterBounds(int) 會有新的字元邊界。

CursorUpdateFilterEditorBounds
已淘汰.

請主編來電 InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 每當游標/錨點位置改變時,新增 EditorBoundsInfo

CursorUpdateFilterInsertionMarker
已淘汰.

請主編來電 InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 每當游標/錨點位置改變時,就會新增插入標記資訊 CursorAnchorInfo#getInsertionMarkerFlags()、、 CursorAnchorInfo#getInsertionMarkerBaseline()、等。

CursorUpdateFilterTextAppearance
已淘汰.

請主編來電 InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 只要游標/錨點位置改變,就會有新的文字外觀資訊 CursorAnchorInfo#getTextAppearanceInfo()}。

CursorUpdateFilterVisibleLineBounds
已淘汰.

請主編來電 InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 每當游標/錨點位置改變、編輯器或其父編輯器被捲動,或因文字更新而改變行界線時,都會新增 CursorAnchorInfo#getVisibleLineBounds() 可見的行界線。

GetExtractedTextMonitor
已淘汰.

標記用於 #getExtractedText 表示你希望在擷取後的文字變更時接收更新。

GetTextWithStyles
已淘汰.

標記用於與 #getTextAfterCursor#getTextBeforeCursor#getSurroundingText 讓樣式資訊與文字一同回傳。

HandwritingGestureResultCancelled
已淘汰.

結果是#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)HandwritingGesture取消的。

HandwritingGestureResultFailed
已淘汰.

結果是當#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)HandwritingGesture失敗且無適用HandwritingGesture#getFallbackText()或因其他原因無法套用時的結果。

HandwritingGestureResultFallback
已淘汰.

結果是指#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)HandwritingGesture失敗但HandwritingGesture#getFallbackText()已承諾時的結果。

HandwritingGestureResultSuccess
已淘汰.

當 成功執行文字時的結果#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)HandwritingGesture

HandwritingGestureResultUnknown
已淘汰.

編輯者沒有提供任何結果時的結果 #performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)

HandwritingGestureResultUnsupported
已淘汰.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer) HandwritingGesture當結果 在目前編輯器中不支援。

InputContentGrantReadUriPermission
已淘汰.

使用此旗標時,編輯器將能請求對物件中內容 InputContentInfo URI 的讀取權限。

適用於