KeyEvent.ICallback KeyEvent.ICallback Interface

Definition

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

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Methods

OnKeyDown(Keycode, KeyEvent) OnKeyDown(Keycode, KeyEvent)

Called when a key down event has occurred.

OnKeyLongPress(Keycode, KeyEvent) OnKeyLongPress(Keycode, KeyEvent)

Called when a long press has occurred.

OnKeyMultiple(Keycode, Int32, KeyEvent) OnKeyMultiple(Keycode, Int32, KeyEvent)

Called when multiple down/up pairs of the same key have occurred in a row.

OnKeyUp(Keycode, KeyEvent) OnKeyUp(Keycode, KeyEvent)

Called when a key up event has occurred.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to