Android Guides | Samples

Android.Content.IDialogInterfaceOnKeyListener

Interface definition for a callback to be invoked when a key event is dispatched to this dialog.

See Also: IDialogInterfaceOnKeyListener

Syntax

[Android.Runtime.Register("android/content/DialogInterface$OnKeyListener", "", "Android.Content.IDialogInterfaceOnKeyListenerInvoker")]
public interface IDialogInterfaceOnKeyListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when a key event is dispatched to this dialog. The callback will be invoked before the key event is given to the dialog.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Content.IDialogInterfaceOnKeyListener are listed below.

Public Methods

OnKey(IDialogInterface, Keycode, KeyEvent) : Boolean
Called when a key is dispatched to a dialog.