Android.Views.InputMethods.IInputMethod.RevokeSession Method
Disable and destroy a session that was previously created with InputMethod.createSession(android.view.inputmethod.InputMethod.SessionCallback).

Syntax

[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 (IInputMethodSession session)

Parameters

session
The Android.Views.InputMethods.IInputMethodSession previously provided through SessionCallback.sessionCreated() that is to be revoked.

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Views.InputMethods
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3