Compartir a través de


IInputMethod.RevokeSession(IInputMethodSession) Method

Definition

Disable and destroy a session that was previously created with #createSession(android.view.inputmethod.InputMethod.SessionCallback).

[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

Parameters

session
IInputMethodSession

The InputMethodSession previously provided through SessionCallback.sessionCreated() that is to be revoked.

Attributes

Remarks

Disable and destroy a session that was previously created with #createSession(android.view.inputmethod.InputMethod.SessionCallback). After this call, the given session interface is no longer active and calls on it will fail.

Java documentation for android.view.inputmethod.InputMethod.revokeSession(android.view.inputmethod.InputMethodSession).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to