Share via


AbstractInputMethodService.AbstractInputMethodSessionImpl 類別

定義

衍生類別的基類,以實作其 InputMethodSession 介面。

[Android.Runtime.Register("android/inputmethodservice/AbstractInputMethodService$AbstractInputMethodSessionImpl", DoNotGenerateAcw=true)]
public abstract class AbstractInputMethodService.AbstractInputMethodSessionImpl : Java.Lang.Object, Android.Views.InputMethods.IInputMethodSession, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/inputmethodservice/AbstractInputMethodService$AbstractInputMethodSessionImpl", DoNotGenerateAcw=true)>]
type AbstractInputMethodService.AbstractInputMethodSessionImpl = class
    inherit Object
    interface IInputMethodSession
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
繼承
AbstractInputMethodService.AbstractInputMethodSessionImpl
衍生
屬性
實作

備註

衍生類別的基類,以實作其 InputMethodSession 介面。 這會處理會話的基本維護,但大部分的行為都必須在衍生類別中實作。

android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

建構函式

AbstractInputMethodService.AbstractInputMethodSessionImpl(AbstractInputMethodService)

衍生類別的基類,以實作其 InputMethodSession 介面。

AbstractInputMethodService.AbstractInputMethodSessionImpl(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 標記法時使用的建構函式;由執行時間呼叫。

屬性

Class

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

(繼承來源 Object)
Enabled

檢查系統是否已啟用此會話。 -或- 變更會話的啟用狀態。

Handle

基礎 Android 實例的控制碼。

(繼承來源 Object)
IsRevoked

檢查系統是否已撤銷此會話。

JniIdentityHashCode

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
JniPeerMembers

衍生類別的基類,以實作其 InputMethodSession 介面。

PeerReference

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
ThresholdClass

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

ThresholdType

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

方法

AppPrivateCommand(String, Bundle)

處理從應用程式傳送至輸入法的私人命令。

Clone()

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

(繼承來源 Object)
DispatchGenericMotionEvent(Int32, MotionEvent, IInputMethodSessionEventCallback)

負責將傳入的一般動作事件分派至服務的適當回呼,並在完成此動作時告知用戶端。

DispatchKeyEvent(Int32, KeyEvent, IInputMethodSessionEventCallback)

請負責將傳入金鑰事件分派至服務的適當回呼,並在完成此動作時告知用戶端。

DispatchTrackballEvent(Int32, MotionEvent, IInputMethodSessionEventCallback)

請負責將傳入的追蹤球事件分派至服務的適當回呼,並在完成此動作時告知用戶端。

DisplayCompletions(CompletionInfo[])

由執行自動完成的文字編輯器呼叫,以告知輸入法其可用的完成。

Dispose()

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
Dispose(Boolean)

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
Equals(Object)

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

(繼承來源 Object)
FinishInput()

當應用程式想要停止接收文字輸入時,就會呼叫這個方法。

GetHashCode()

傳回此物件的雜湊碼值。

(繼承來源 Object)
JavaFinalize()

當垃圾收集判斷物件不再參考物件時,垃圾收集行程會在物件上呼叫。

(繼承來源 Object)
Notify()

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

(繼承來源 Object)
NotifyAll()

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

(繼承來源 Object)
RevokeSelf()

撤銷用戶端的會話。

SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

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

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
ToggleSoftInput(ShowFlags, HideSoftInputFlags)

切換軟式輸入視窗。

ToString()

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
UpdateCursor(Rect)

當目標輸入欄位的資料指標位置在其視窗中變更時,就會呼叫這個方法。

UpdateCursorAnchorInfo(CursorAnchorInfo)

當游標和/或與文字輸入相關的字元位置在畫面上變更時,就會呼叫這個方法。

UpdateExtractedText(Int32, ExtractedText)

由文字編輯器呼叫,以在內容變更時報告其新擷取的文字。

UpdateSelection(Int32, Int32, Int32, Int32, Int32, Int32)

當目前目標輸入欄位中的選取範圍或游標變更時,就會呼叫這個方法。

ViewClicked(Boolean)

當使用者點選文字檢視時,會呼叫這個方法。

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()

衍生類別的基類,以實作其 InputMethodSession 介面。

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

衍生類別的基類,以實作其 InputMethodSession 介面。

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

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)
IJavaPeerable.JniManagedPeerState

衍生類別的基類,以實作其 InputMethodSession 介面。

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

衍生類別的基類,以實作其 InputMethodSession 介面。

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

衍生類別的基類,以實作其 InputMethodSession 介面。

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

衍生類別的基類,以實作其 InputMethodSession 介面。

(繼承來源 Object)

擴充方法

JavaCast<TResult>(IJavaObject)

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

JavaCast<TResult>(IJavaObject)

衍生類別的基類,以實作其 InputMethodSession 介面。

GetJniTypeName(IJavaPeerable)

衍生類別的基類,以實作其 InputMethodSession 介面。

適用於