共用方式為


InputConnectionWrapper 建構函式

定義

多載

InputConnectionWrapper(IInputConnection, Boolean)

初始化包裝函式。

InputConnectionWrapper(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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,但您無法模擬中具有 nulltarget的非 Null InputConnectionWrapper 行為。

android.view.inputmethod.InputConnectionWrapper.InputConnectionWrapper(android.view.inputmethod.InputConnection, boolean)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

InputConnectionWrapper(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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 Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於