KeyEvent.Dispatch Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Dispatch(KeyEvent+ICallback) |
Obsolète.
Répartit cet événement clé vers un récepteur de rappel. |
| Dispatch(KeyEvent+ICallback, KeyEvent+DispatcherState, Object) |
Répartit cet événement clé vers un récepteur de rappel. |
Dispatch(KeyEvent+ICallback)
Attention
deprecated
Répartit cet événement clé vers un récepteur de rappel.
[Android.Runtime.Register("dispatch", "(Landroid/view/KeyEvent$Callback;)Z", "")]
[System.Obsolete("deprecated")]
public bool Dispatch(Android.Views.KeyEvent.ICallback? receiver);
[<Android.Runtime.Register("dispatch", "(Landroid/view/KeyEvent$Callback;)Z", "")>]
[<System.Obsolete("deprecated")>]
member this.Dispatch : Android.Views.KeyEvent.ICallback -> bool
Paramètres
- receiver
- KeyEvent.ICallback
Valeur Android.Views.KeyEvent+ICallback utilisée pour le récepteur.
Retours
Résultat de l’opération de répartition.
- Attributs
Remarques
Java documentation pour android.view.KeyEvent.dispatch(android.view.KeyEvent.Callback).
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 à
Dispatch(KeyEvent+ICallback, KeyEvent+DispatcherState, Object)
Répartit cet événement clé vers un récepteur de rappel.
[Android.Runtime.Register("dispatch", "(Landroid/view/KeyEvent$Callback;Landroid/view/KeyEvent$DispatcherState;Ljava/lang/Object;)Z", "")]
public bool Dispatch(Android.Views.KeyEvent.ICallback? receiver, Android.Views.KeyEvent.DispatcherState? state, Java.Lang.Object? target);
[<Android.Runtime.Register("dispatch", "(Landroid/view/KeyEvent$Callback;Landroid/view/KeyEvent$DispatcherState;Ljava/lang/Object;)Z", "")>]
member this.Dispatch : Android.Views.KeyEvent.ICallback * Android.Views.KeyEvent.DispatcherState * Java.Lang.Object -> bool
Paramètres
- receiver
- KeyEvent.ICallback
Rappel qui sera donné à l’événement.
- state
- KeyEvent.DispatcherState
Informations d’état conservées sur les événements.
- target
- Object
Cible de la distribution, à utiliser dans le suivi.
Retours
Résultat de l’opération de répartition.
- Attributs
Remarques
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.