Langage

InputMethodManager.SendAppPrivateCommand(View, String, Bundle) Méthode

Définition

Appelez InputMethodSession#appPrivateCommand(String, Bundle) InputMethodSession.appPrivateCommand() la méthode d’entrée actuelle.

[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

Paramètres

view
View

Affichage facultatif qui envoie la commande ou null si vous souhaitez envoyer la commande, quel que soit l’affichage attaché à la méthode d’entrée.

action
String

Nom de la commande à effectuer. Cet <em>doit</em> être un nom délimité, c’est-à-dire préfixé d’un nom de package que vous possédez, afin que différents développeurs ne créent pas de commandes en conflit.

data
Bundle

Toutes les données à inclure avec la commande.

Attributs

Remarques

Appelez InputMethodSession#appPrivateCommand(String, Bundle) InputMethodSession.appPrivateCommand() la méthode d’entrée actuelle.

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

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à