Android Guides | Samples

Android.Views.KeyEvent.ICallback

See Also: KeyEvent+ICallback

Syntax

[Android.Runtime.Register("android/view/KeyEvent$Callback", "", "Android.Views.KeyEvent/ICallbackInvoker")]
public interface KeyEvent.ICallback : IJavaObject, IDisposable

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Views.KeyEvent.ICallback are listed below.

Public Methods

OnKeyDown(Keycode, KeyEvent) : Boolean
Called when a key down event has occurred.
OnKeyLongPress(Keycode, KeyEvent) : Boolean
Called when a long press has occurred.
OnKeyMultiple(Keycode, Int32, KeyEvent) : Boolean
Called when multiple down/up pairs of the same key have occurred in a row.
OnKeyUp(Keycode, KeyEvent) : Boolean
Called when a key up event has occurred.