Share via


InputConnection 類別

定義

警告

Use the 'Android.Views.InputMethods.IInputConnection' type. This class will be removed in a future release.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

[Android.Runtime.Register("android/view/inputmethod/InputConnection", DoNotGenerateAcw=true)]
[System.Obsolete("Use the 'Android.Views.InputMethods.IInputConnection' type. This class will be removed in a future release.")]
public abstract class InputConnection : Java.Lang.Object
[<Android.Runtime.Register("android/view/inputmethod/InputConnection", DoNotGenerateAcw=true)>]
[<System.Obsolete("Use the 'Android.Views.InputMethods.IInputConnection' type. This class will be removed in a future release.")>]
type InputConnection = class
    inherit Object
繼承
InputConnection
屬性

備註

Android 平臺檔

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

欄位

CursorUpdateFilterCharacterBounds
已淘汰.

要求編輯器呼叫InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 每當資料指標/錨點位置變更時,就會有新的字元界限 CursorAnchorInfo#getCharacterBounds(int)

CursorUpdateFilterEditorBounds
已淘汰.

要求編輯器呼叫InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 每當資料指標/錨點位置變更時,就會使用 new 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#getFallbackText() 已認可的結果 HandwritingGesture

HandwritingGestureResultSuccess
已淘汰.

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

HandwritingGestureResultUnknown
已淘汰.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)當編輯器未提供任何結果時的結果。

HandwritingGestureResultUnsupported
已淘汰.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)目前編輯器不支援時 HandwritingGesture 的結果。

InputContentGrantReadUriPermission
已淘汰.

使用此旗標時,編輯器將能夠要求讀取物件中包含的 InputContentInfo 內容 URI。

屬性

Class
已淘汰.

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

(繼承來源 Object)
Handle
已淘汰.

基礎 Android 實例的控制碼。

(繼承來源 Object)
JniIdentityHashCode
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
JniPeerMembers
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
PeerReference
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
ThresholdClass
已淘汰.

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

(繼承來源 Object)
ThresholdType
已淘汰.

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

(繼承來源 Object)

方法

Clone()
已淘汰.

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

(繼承來源 Object)
Dispose()
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
Dispose(Boolean)
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
Equals(Object)
已淘汰.

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

(繼承來源 Object)
GetHashCode()
已淘汰.

傳回此物件的雜湊碼值。

(繼承來源 Object)
JavaFinalize()
已淘汰.

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

(繼承來源 Object)
Notify()
已淘汰.

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

(繼承來源 Object)
NotifyAll()
已淘汰.

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

(繼承來源 Object)
SetHandle(IntPtr, JniHandleOwnership)
已淘汰.

設定 Handle 屬性。

(繼承來源 Object)
ToArray<T>()
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
ToString()
已淘汰.

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 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)

明確介面實作

IJavaPeerable.Disposed()
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
IJavaPeerable.DisposeUnlessReferenced()
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
IJavaPeerable.Finalized()
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
IJavaPeerable.JniManagedPeerState
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

(繼承來源 Object)

擴充方法

JavaCast<TResult>(IJavaObject)
已淘汰.

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

JavaCast<TResult>(IJavaObject)
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

GetJniTypeName(IJavaPeerable)
已淘汰.

InputConnection 介面是從 傳回至接收其輸入的應用程式的通道 InputMethod

適用於