InputMethodService.InputMethodSessionImpl 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
的具體實 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
- 繼承
-
InputMethodService.InputMethodSessionImpl
- 屬性
備註
的具體實 AbstractInputMethodService.AbstractInputMethodSessionImpl 作,提供輸入法會話的所有標準行為。
的 android.inputmethodservice.InputMethodService.InputMethodSessionImplJava 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
建構函式
| 名稱 | Description |
|---|---|
| InputMethodService.InputMethodSessionImpl(InputMethodService) |
的具體實 |
| InputMethodService.InputMethodSessionImpl(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
屬性
| 名稱 | Description |
|---|---|
| Class |
傳回這個 |
| Enabled |
檢查是否已由系統啟用此工作階段。 -或- 變更會話的啟用狀態。 (繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl) |
| Handle |
基礎Android實例的句柄。 (繼承來源 Object) |
| IsRevoked |
檢查此工作階段是否已由系統撤銷。 (繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl) |
| JniIdentityHashCode |
的具體實 |
| JniPeerMembers |
的具體實 |
| PeerReference |
的具體實 |
| ThresholdClass |
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
| ThresholdType |
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
方法
| 名稱 | Description |
|---|---|
| AppPrivateCommand(String, Bundle) |
呼叫 |
| Clone() |
建立並傳回這個 對象的複本。 (繼承來源 Object) |
| DispatchGenericMotionEvent(Int32, MotionEvent, IInputMethodSessionEventCallback) |
請負責將傳入的一般動作事件分派至服務的適當回呼,並在完成此動作時告訴用戶端。 (繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl) |
| DispatchKeyEvent(Int32, KeyEvent, IInputMethodSessionEventCallback) |
請負責將連入金鑰事件分派至服務的適當回呼,並在完成此動作時告訴用戶端。 (繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl) |
| DispatchTrackballEvent(Int32, MotionEvent, IInputMethodSessionEventCallback) |
請負責將傳入追蹤球事件分派至服務的適當回呼,並在完成此動作時告訴用戶端。 (繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl) |
| DisplayCompletions(CompletionInfo[]) |
呼叫 |
| Dispose() |
的具體實 |
| Dispose(Boolean) |
的具體實 |
| Equals(Object) |
指出其他物件是否「等於」這個物件。 (繼承來源 Object) |
| FinishInput() | |
| GetHashCode() |
傳回此物件的雜湊碼值。 (繼承來源 Object) |
| JavaFinalize() |
當垃圾收集決定不再參考物件時,垃圾收集行程在 物件上呼叫。 (繼承來源 Object) |
| Notify() |
喚醒正在等候此物件監視器的單一線程。 (繼承來源 Object) |
| NotifyAll() |
喚醒正在等候此物件監視器的所有線程。 (繼承來源 Object) |
| OnShouldVerifyKeyEvent(KeyEvent) |
的具體實 |
| RevokeSelf() |
撤銷用戶端的會話。 (繼承來源 AbstractInputMethodService.AbstractInputMethodSessionImpl) |
| SetHandle(IntPtr, JniHandleOwnership) |
設定 Handle 屬性。 (繼承來源 Object) |
| ToArray<T>() |
的具體實 |
| ToggleSoftInput(ShowFlags, HideSoftInputFlags) |
處理切換輸入法可見性的要求。 |
| ToString() |
傳回物件的字串表示。 (繼承來源 Object) |
| UnregisterFromRuntime() |
的具體實 |
| 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, Int32) |
讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。 (繼承來源 Object) |
| Wait(Int64) |
讓目前的線程等到喚醒為止,通常是因為 <em>notified</em> 或 <em>interrupted</em>,或直到經過一定數量的實時為止。 (繼承來源 Object) |
明確介面實作
| 名稱 | Description |
|---|---|
| IJavaPeerable.Disposed() |
的具體實 |
| IJavaPeerable.DisposeUnlessReferenced() |
的具體實 |
| IJavaPeerable.Finalized() |
的具體實 |
| IJavaPeerable.JniManagedPeerState |
的具體實 |
| IJavaPeerable.SetJniIdentityHashCode(Int32) |
的具體實 |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
的具體實 |
| IJavaPeerable.SetPeerReference(JniObjectReference) |
的具體實 |
擴充方法
| 名稱 | Description |
|---|---|
| GetJniTypeName(IJavaPeerable) |
取得實例 |
| JavaAs<TResult>(IJavaPeerable) |
試著強制 |
| JavaCast<TResult>(IJavaObject) |
執行 Android 執行時間檢查的類型轉換。 |
| JavaCast<TResult>(IJavaObject) |
的具體實 |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
試著強制 |