InputConnectionWrapper 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
,但您無法模擬中具有 null
target
的非 Null InputConnectionWrapper
行為。
此頁面的部分是根據 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
參數
- transfer
- JniHandleOwnership
JniHandleOwnership,指出如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。