InputConnection 类

定义

注意

Use the 'Android.Views.InputMethods.IInputConnection' type. This class will be removed in a future release.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

[Android.Runtime.Register("android/view/inputmethod/InputConnection", DoNotGenerateAcw=true)]
[System.Obsolete("Use the 'Android.Views.InputMethods.IInputConnection' type. This class will be removed in a future release.")]
public abstract class InputConnection : Java.Lang.Object
[<Android.Runtime.Register("android/view/inputmethod/InputConnection", DoNotGenerateAcw=true)>]
[<System.Obsolete("Use the 'Android.Views.InputMethods.IInputConnection' type. This class will be removed in a future release.")>]
type InputConnection = class
    inherit Object
继承
InputConnection
属性

注解

Android 平台文档

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

字段

CursorUpdateFilterCharacterBounds
已过时.

请求编辑器调用InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 当光标/定位点位置发生更改时,具有新的字符边界 CursorAnchorInfo#getCharacterBounds(int)

CursorUpdateFilterEditorBounds
已过时.

请求编辑器调用InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 当光标/定位点位置发生更改时,替换为新的 EditorBoundsInfo

CursorUpdateFilterInsertionMarker
已过时.

请求编辑器调用InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 与新的插入标记信息 CursorAnchorInfo#getInsertionMarkerFlags()CursorAnchorInfo#getInsertionMarkerBaseline()等,只要光标/定位点位置发生更改。

CursorUpdateFilterTextAppearance
已过时.

请求编辑器调用InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 当光标/定位点位置发生更改时,具有新的文本外观信息 CursorAnchorInfo#getTextAppearanceInfo()}。

CursorUpdateFilterVisibleLineBounds
已过时.

请求编辑器调用InputMethodManager#updateCursorAnchorInfo(android.view.View, CursorAnchorInfo) 当光标/定位点位置发生更改、编辑器或其父级滚动或行边界因文本更新而更改时,使用新的可见行边界 CursorAnchorInfo#getVisibleLineBounds()

GetExtractedTextMonitor
已过时.

与 一起使用 #getExtractedText 的标志,指示希望在提取的文本更改时接收更新。

GetTextWithStyles
已过时.

与 一起使用 #getTextAfterCursor的标志, #getTextBeforeCursor 以及 #getSurroundingText 将样式信息与文本一起返回。

HandwritingGestureResultCancelled
已过时.

取消时间HandwritingGesture的结果#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)

HandwritingGestureResultFailed
已过时.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)HandwritingGesture失败且没有适用HandwritingGesture#getFallbackText()或因任何其他原因无法应用时的结果。

HandwritingGestureResultFallback
已过时.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)失败但HandwritingGesture#getFallbackText()已提交时HandwritingGesture的结果。

HandwritingGestureResultSuccess
已过时.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)在文本上成功执行时HandwritingGesture的结果。

HandwritingGestureResultUnknown
已过时.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)编辑器未提供任何结果时的结果。

HandwritingGestureResultUnsupported
已过时.

#performHandwritingGesture(HandwritingGesture, Executor, IntConsumer)当前编辑器不支持 时HandwritingGesture的结果。

InputContentGrantReadUriPermission
已过时.

使用此标志时,编辑器将能够请求对 对象中包含的内容 URI 的 InputContentInfo 读取访问权限。

属性

Class
已过时.

返回此 Object的运行时类。

(继承自 Object)
Handle
已过时.

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
JniPeerMembers
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
PeerReference
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
ThresholdClass
已过时.

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

(继承自 Object)
ThresholdType
已过时.

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

(继承自 Object)

方法

Clone()
已过时.

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

(继承自 Object)
Dispose()
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
Dispose(Boolean)
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
Equals(Object)
已过时.

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

(继承自 Object)
GetHashCode()
已过时.

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()
已过时.

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

(继承自 Object)
Notify()
已过时.

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

(继承自 Object)
NotifyAll()
已过时.

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

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)
已过时.

设置 Handle 属性。

(继承自 Object)
ToArray<T>()
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
ToString()
已过时.

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

(继承自 Object)
UnregisterFromRuntime()
已过时.

InputConnection 接口是从 返回 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()
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
IJavaPeerable.Finalized()
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
IJavaPeerable.JniManagedPeerState
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)
已过时.

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

JavaCast<TResult>(IJavaObject)
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

GetJniTypeName(IJavaPeerable)
已过时.

InputConnection 接口是从 返回 InputMethod 到接收其输入的应用程序的信道。

适用于