View.CheckInputConnectionProxy(View) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當一個非目前輸入連線目標的視圖試圖在管理器上呼叫時,會被呼叫 android.view.inputmethod.InputMethodManager 。
[Android.Runtime.Register("checkInputConnectionProxy", "(Landroid/view/View;)Z", "GetCheckInputConnectionProxy_Landroid_view_View_Handler")]
public virtual bool CheckInputConnectionProxy(Android.Views.View? view);
[<Android.Runtime.Register("checkInputConnectionProxy", "(Landroid/view/View;)Z", "GetCheckInputConnectionProxy_Landroid_view_View_Handler")>]
abstract member CheckInputConnectionProxy : Android.Views.View -> bool
override this.CheckInputConnectionProxy : Android.Views.View -> bool
參數
- view
- View
就是正在呼叫 InputMethodManager 的視圖。
傳回
回傳 true 以允許呼叫,false 則代表拒絕。
- 屬性
備註
當一個非目前輸入連線目標的視圖試圖在管理器上呼叫時,會被呼叫 android.view.inputmethod.InputMethodManager 。 預設實作會回傳 false;如果你對某些視圖執行 InputConnection 代理,可以覆寫此設定以回傳 true。
Java 文件 android.view.View.checkInputConnectionProxy(android.view.View)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。