InputMethodManager.SendAppPrivateCommand(View, String, Bundle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
呼叫 InputMethodSession#appPrivateCommand(String, Bundle)
InputMethodSession.appPrivateCommand() 目前的輸入法。
[Android.Runtime.Register("sendAppPrivateCommand", "(Landroid/view/View;Ljava/lang/String;Landroid/os/Bundle;)V", "")]
public void SendAppPrivateCommand(Android.Views.View? view, string? action, Android.OS.Bundle? data);
[<Android.Runtime.Register("sendAppPrivateCommand", "(Landroid/view/View;Ljava/lang/String;Landroid/os/Bundle;)V", "")>]
member this.SendAppPrivateCommand : Android.Views.View * string * Android.OS.Bundle -> unit
參數
- view
- View
可選的檢視是傳送指令的,或者 null 表示如果你想傳送指令,無論輸入法綁定的視圖為何。
- action
- String
要執行的指令名稱。 這個 <em>必須<>是有作用域的名稱,也就是說,前面要加上你擁有的套件名稱,這樣不同開發者就不會產生衝突的指令。
- data
- Bundle
任何需要隨指令附上的資料。
- 屬性
備註
呼叫 InputMethodSession#appPrivateCommand(String, Bundle) InputMethodSession.appPrivateCommand() 目前的輸入法。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。