public static interface DialogInterface.OnKeyListener
Modifier and Type | Method and Description |
---|---|
boolean |
onKey(DialogInterface dialog,
int keyCode,
KeyEvent event)
Called when a key is dispatched to a dialog.
|
boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event)
dialog
- The dialog the key has been dispatched to.keyCode
- The code for the physical key that was pressedevent
- The KeyEvent object containing full information about
the event.