Lenguaje

Window.ICallback.DispatchKeyEvent(KeyEvent) Método

Definición

Se llama para procesar eventos clave.

[Android.Runtime.Register("dispatchKeyEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyEvent_Landroid_view_KeyEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool DispatchKeyEvent(Android.Views.KeyEvent e);
[<Android.Runtime.Register("dispatchKeyEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyEvent_Landroid_view_KeyEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DispatchKeyEvent : Android.Views.KeyEvent -> bool

Parámetros

e
KeyEvent

Evento de clave.

Devoluciones

boolean Return true si se consumió este evento.

Atributos

Comentarios

Se llama para procesar eventos clave. Al menos la implementación debe llamar android.view.Window#superDispatchKeyEvent a para realizar el procesamiento de claves estándar.

Java documentación para android.view.Window.Callback.dispatchKeyEvent(android.view.KeyEvent).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a