語言

InputMethodService.InputMethodSessionImpl 類別

定義

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

[Android.Runtime.Register("android/inputmethodservice/InputMethodService$InputMethodSessionImpl", DoNotGenerateAcw=true)]
public class InputMethodService.InputMethodSessionImpl : Android.InputMethodServices.AbstractInputMethodService.AbstractInputMethodSessionImpl
[<Android.Runtime.Register("android/inputmethodservice/InputMethodService$InputMethodSessionImpl", DoNotGenerateAcw=true)>]
type InputMethodService.InputMethodSessionImpl = class
    inherit AbstractInputMethodService.AbstractInputMethodSessionImpl
繼承
屬性

備註

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

Java 文件 android.inputmethodservice.InputMethodService.InputMethodSessionImpl。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

建構函式

名稱 Description
InputMethodService.InputMethodSessionImpl(InputMethodService)

初始化與指定服務相關的輸入方法會話。

InputMethodService.InputMethodSessionImpl(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

屬性

名稱 Description
Class

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

(繼承來源 Object)
Enabled

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

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
Handle

基礎Android實例的句柄。

(繼承來源 Object)
IsRevoked

檢查此工作階段是否已由系統撤銷。

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
JniIdentityHashCode

取得由互通執行時指派給此 Java 對等端的身份雜湊碼。

(繼承來源 Object)
JniManagedPeerState

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

(繼承來源 JavaObject)
JniPeerMembers

取得用於存取此 Java 綁定成員的 JNI 元資料。

PeerReference

取得這個 Java 節點的 JNI 物件參考。

(繼承來源 Object)
ThresholdClass

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

ThresholdType

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

方法

名稱 Description
AppPrivateCommand(String, Bundle)

呼叫 InputMethodService#onAppPrivateCommand InputMethodService.onAppPrivateCommand()。

Clone()

建立並傳回這個 對象的複本。

(繼承來源 Object)
Construct(JniObjectReference, JniObjectReferenceOptions)

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

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

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

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
DispatchKeyEvent(Int32, KeyEvent, IInputMethodSessionEventCallback)

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

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
DispatchTrackballEvent(Int32, MotionEvent, IInputMethodSessionEventCallback)

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

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
DisplayCompletions(CompletionInfo[])

呼叫 InputMethodService#onDisplayCompletions InputMethodService.onDisplayCompletions()。

Dispose()

釋放該 Java 節點所持有的資源。

(繼承來源 Object)
Dispose(Boolean)

釋放該 Java 節點所持有的資源。

(繼承來源 Object)
DisposeUnlessReferenced()

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

(繼承來源 JavaObject)
Equals(Object)

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

(繼承來源 JavaObject)
Equals(Object)

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

(繼承來源 Object)
FinishInput()

在基礎實作中,只有在會話啟用時才會完成輸入。

GetHashCode()

傳回此物件的雜湊碼值。

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

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

(繼承來源 Object)
Notify()

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

(繼承來源 Object)
NotifyAll()

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

(繼承來源 Object)
OnShouldVerifyKeyEvent(KeyEvent)

在基礎實作中,會詢問包覆服務是否要求金鑰事件驗證。

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
RevokeSelf()

撤銷用戶端的會話。

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)
SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

(繼承來源 Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions)

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

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

從這個 Java 陣列包裝器建立一個受管理陣列。

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

處理切換輸入法可見性的要求。

ToString()

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

將此 Java 節點從互通執行時中取消註冊。

(繼承來源 Object)
UpdateCursor(Rect)

呼叫 InputMethodService#onUpdateCursor InputMethodService.onUpdateCursor()。

UpdateCursorAnchorInfo(CursorAnchorInfo)

呼叫 InputMethodService#onUpdateCursorAnchorInfo InputMethodService.onUpdateCursorAnchorInfo()。

UpdateExtractedText(Int32, ExtractedText)

呼叫 InputMethodService#onUpdateExtractedText InputMethodService.onUpdateExtractedText()。

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

呼叫 InputMethodService#onUpdateSelection InputMethodService.onUpdateSelection()。

ViewClicked(Boolean)

在基礎實作中,若會話啟用,會將通知轉發給服務。

Wait()

讓目前線程等候直到喚醒為止,通常是藉由em <notified/em>或<em>interrupted</em> 來喚醒它。<>

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

讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。

(繼承來源 Object)
Wait(Int64)

讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。

(繼承來源 Object)

明確介面實作

名稱 Description
IJavaPeerable.Disposed()

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

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

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

(繼承來源 JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

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

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

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

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

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

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

(繼承來源 JavaObject)
IJavaPeerable.UnregisterFromRuntime()

將此實例從執行時的 Java 物件查詢中移除。

(繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl)

擴充方法

名稱 Description
GetJniTypeName(IJavaPeerable)

取得實例 self類型的 JNI 名稱。

JavaAs<TResult>(IJavaPeerable)

試著強制self輸入 TResult,檢查 強制在 Java 端是否有效。

JavaCast<TResult>(IJavaObject)

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

JavaCast<TResult>(IJavaObject)

的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。

TryJavaCast<TResult>(IJavaPeerable, TResult)

試著強制self輸入 TResult,檢查 強制在 Java 端是否有效。

適用於