Share via


InputConnectionWrapper Constructors

Definition

Overloads

InputConnectionWrapper(IInputConnection, Boolean)

Initializes a wrapper.

InputConnectionWrapper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

InputConnectionWrapper(IInputConnection, Boolean)

Initializes a wrapper.

[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

Parameters

target
IInputConnection

the InputConnection to be proxied.

mutable
Boolean

set true to protect this object from being reconfigured to target another InputConnection. Note that this is ignored while the target is null.

Attributes

Remarks

Initializes a wrapper.

<b>Caveat:</b> Although the system can accept (InputConnection) null in some places, you cannot emulate such a behavior by non-null InputConnectionWrapper that has null in target.

Java documentation for android.view.inputmethod.InputConnectionWrapper.InputConnectionWrapper(android.view.inputmethod.InputConnection, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

InputConnectionWrapper(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to