Freigeben über


InputMethodManager.SendAppPrivateCommand(View, String, Bundle) Method

Definition

Call InputMethodSession#appPrivateCommand(String, Bundle) InputMethodSession.appPrivateCommand() on the current Input Method.

[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

Parameters

view
View

Optional View that is sending the command, or null if you want to send the command regardless of the view that is attached to the input method.

action
String

Name of the command to be performed. This <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting commands.

data
Bundle

Any data to include with the command.

Attributes

Remarks

Call InputMethodSession#appPrivateCommand(String, Bundle) InputMethodSession.appPrivateCommand() on the current Input Method.

Java documentation for android.view.inputmethod.InputMethodManager.sendAppPrivateCommand(android.view.View, java.lang.String, android.os.Bundle).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to