InputConnectionWrapper 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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,但你無法透過具有 InputConnectionWrappernull的非空target來模擬此類行為。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。