InputConnectionWrapper 构造函数

定义

重载

InputConnectionWrapper(IInputConnection, Boolean)

初始化包装器。

InputConnectionWrapper(IntPtr, JniHandleOwnership)

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

InputConnectionWrapper(IInputConnection, Boolean)

初始化包装器。

[Android.Runtime.Register(".ctor", "(Landroid/view/inputmethod/InputConnection;Z)V", "")]
public InputConnectionWrapper (Android.Views.InputMethods.IInputConnection? target, bool mutable);
[<Android.Runtime.Register(".ctor", "(Landroid/view/inputmethod/InputConnection;Z)V", "")>]
new Android.Views.InputMethods.InputConnectionWrapper : Android.Views.InputMethods.IInputConnection * bool -> Android.Views.InputMethods.InputConnectionWrapper

参数

target
IInputConnection

InputConnection 代理。

mutable
Boolean

设置为 true 保护此对象不被重新配置为面向另一个 InputConnection对象。 请注意,当目标为 null 时,将忽略此项。

属性

注解

初始化包装器。

<b>警告:</b> 虽然系统在某些地方可以接受 (InputConnection) null ,但不能通过非 null InputConnectionWrappernulltarget来模拟此类行为。

适用于 . 的 android.view.inputmethod.InputConnectionWrapper.InputConnectionWrapper(android.view.inputmethod.InputConnection, boolean)Java 文档

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

适用于

InputConnectionWrapper(IntPtr, JniHandleOwnership)

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

protected InputConnectionWrapper (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.InputMethods.InputConnectionWrapper : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.InputMethods.InputConnectionWrapper

参数

javaReference
IntPtr

nativeint

IntPtr一个包含 Java 本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

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

适用于