AbstractInputMethodService.AbstractInputMethodImpl.RevokeSession 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過呼叫它 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() 的方法來終止現有的會話。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。