AbstractInputMethodService.AbstractInputMethodImpl.RevokeSession 方法

定義

透過呼叫它 AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.revokeSelf() 的方法來終止現有的會話。

[Android.Runtime.Register("revokeSession", "(Landroid/view/inputmethod/InputMethodSession;)V", "GetRevokeSession_Landroid_view_inputmethod_InputMethodSession_Handler")]
public virtual void RevokeSession(Android.Views.InputMethods.IInputMethodSession session);
[<Android.Runtime.Register("revokeSession", "(Landroid/view/inputmethod/InputMethodSession;)V", "GetRevokeSession_Landroid_view_inputmethod_InputMethodSession_Handler")>]
abstract member RevokeSession : Android.Views.InputMethods.IInputMethodSession -> unit
override this.RevokeSession : Android.Views.InputMethods.IInputMethodSession -> unit

參數

session
IInputMethodSession

先前透過 SessionCallback.sessionCreated() 提供的該資料 IInputMethodSession 將被撤銷。

實作

屬性

備註

透過呼叫它 AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.revokeSelf() 的方法來終止現有的會話。

Java 文件 android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl.revokeSession(android.view.inputmethod.InputMethodSession)

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

適用於