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

IInputMethodSession以前通过要撤销的 SessionCallback.sessionCreated()提供。

实现

属性

注解

通过调用现有会话的方法来处理终止现有 AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.revokeSelf() 会话。

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于