Called when a key is dispatched to a dialog.
Syntax
[Android.Runtime.Register("onKey", "(Landroid/content/DialogInterface;ILandroid/view/KeyEvent;)Z", "GetOnKey_Landroid_content_DialogInterface_ILandroid_view_KeyEvent_Handler:Android.Content.IDialogInterfaceOnKeyListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
bool OnKey (
IDialogInterface dialog, [Android.Runtime.GeneratedEnum]
Android.Views.Keycode keyCode,
Android.Views.KeyEvent e)
Parameters
- dialog
- The dialog the key has been dispatched to.
- keyCode
- The code for the physical key that was pressed
- e
- The KeyEvent object containing full information about
the event.
Returns
Documentation for this section has not yet been entered.
Remarks
Requirements
Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1