AbstractInputMethodService.AbstractInputMethodImpl 类

定义

派生类实现其 InputMethod 接口的基类。

[Android.Runtime.Register("android/inputmethodservice/AbstractInputMethodService$AbstractInputMethodImpl", DoNotGenerateAcw=true)]
public abstract class AbstractInputMethodService.AbstractInputMethodImpl : Java.Lang.Object, Android.Views.InputMethods.IInputMethod, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/inputmethodservice/AbstractInputMethodService$AbstractInputMethodImpl", DoNotGenerateAcw=true)>]
type AbstractInputMethodService.AbstractInputMethodImpl = class
    inherit Object
    interface IInputMethod
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
继承
AbstractInputMethodService.AbstractInputMethodImpl
派生
属性
实现

注解

派生类实现其 InputMethod 接口的基类。 这会处理输入法的基本维护,但大多数行为必须在派生类中实现。

适用于 . 的 android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImplJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

AbstractInputMethodService.AbstractInputMethodImpl(AbstractInputMethodService)

派生类实现其 InputMethod 接口的基类。

AbstractInputMethodService.AbstractInputMethodImpl(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
JniPeerMembers

派生类实现其 InputMethod 接口的基类。

PeerReference

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
ThresholdClass

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

ThresholdType

此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。

方法

AttachToken(IBinder)

在创建输入法后首先调用,这将为它与系统服务一起提供的会话提供唯一令牌。

BindInput(InputBinding)

将新的应用程序环境绑定到输入方法,以便以后可以启动和停止输入处理。

ChangeInputMethodSubtype(InputMethodSubtype)

通知在同一输入法中正在更改输入法子类型。

Clone()

创建并返回此对象的副本。

(继承自 Object)
CreateSession(IInputMethodSessionCallback)

通过回调来 OnCreateInputMethodSessionInterface()实例化输入方法的新客户端会话。

Dispose()

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
Dispose(Boolean)

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
Equals(Object)

指示其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
HideSoftInput(Int32, ResultReceiver)

请求用户隐藏输入方法的任何软输入部分。

JavaFinalize()

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
RestartInput(IInputConnection, EditorInfo)

当需要重置此输入法的状态时,将调用此方法。

RevokeSession(IInputMethodSession)

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

SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
SetSessionEnabled(IInputMethodSession, Boolean)

通过调用现有会话的方法,负责启用或禁用现有 AbstractInputMethodSessionImpl#revokeSelf() AbstractInputMethodSessionImpl.setEnabled() 会话。

ShowSoftInput(ShowSoftInputFlags, ResultReceiver)

请求向用户显示输入方法的任何软输入部分。

StartInput(IInputConnection, EditorInfo)

当应用程序开始接收文本并且此输入方法已准备好处理收到的事件并将结果文本发送回应用程序时,将调用此方法。

ToArray<T>()

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnbindInput()

取消绑定应用程序环境,当以前设置的信息 #bindInput 不再对此输入法有效时调用。

UnregisterFromRuntime()

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
Wait()

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64, Int32)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
IJavaPeerable.Finalized()

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

派生类实现其 InputMethod 接口的基类。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

派生类实现其 InputMethod 接口的基类。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

派生类实现其 InputMethod 接口的基类。

GetJniTypeName(IJavaPeerable)

派生类实现其 InputMethod 接口的基类。

适用于