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
IInputMethodSession以前通过要撤销的 SessionCallback.sessionCreated()提供。
实现
- 属性
注解
通过调用现有会话的方法来处理终止现有 AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.revokeSelf() 会话。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。