IInputMethod.RevokeSession(IInputMethodSession) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
停用並銷毀先前用 建立的 #createSession(android.view.inputmethod.InputMethod.SessionCallback)session 。
[Android.Runtime.Register("revokeSession", "(Landroid/view/inputmethod/InputMethodSession;)V", "GetRevokeSession_Landroid_view_inputmethod_InputMethodSession_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RevokeSession(Android.Views.InputMethods.IInputMethodSession? session);
[<Android.Runtime.Register("revokeSession", "(Landroid/view/inputmethod/InputMethodSession;)V", "GetRevokeSession_Landroid_view_inputmethod_InputMethodSession_Handler:Android.Views.InputMethods.IInputMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RevokeSession : Android.Views.InputMethods.IInputMethodSession -> unit
參數
- session
- IInputMethodSession
先前透過 SessionCallback.sessionCreated() 提供的該資料 InputMethodSession 將被撤銷。
- 屬性
備註
停用並銷毀先前用 建立的 #createSession(android.view.inputmethod.InputMethod.SessionCallback)session 。 此呼叫結束後,該會話介面不再活躍,呼叫將失敗。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。