Android.Views.InputMethods.IInputMethodSession.DispatchKeyEvent Method
This method is called when a key is pressed.

Syntax

[Android.Runtime.Register("dispatchKeyEvent", "(ILandroid/view/KeyEvent;Landroid/view/inputmethod/InputMethodSession$EventCallback;)V", "GetDispatchKeyEvent_ILandroid_view_KeyEvent_Landroid_view_inputmethod_InputMethodSession_EventCallback_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void DispatchKeyEvent (int seq, Android.Views.KeyEvent e, IInputMethodSessionEventCallback callback)

See Also

Android.Views.KeyEvent

Parameters

seq
Documentation for this section has not yet been entered.
e
The key event.
callback
Documentation for this section has not yet been entered.

Remarks

This method is called when a key is pressed. When done with the event, the implementation must call back on callback with its result.

If the input method wants to handle this event, return true, otherwise return false and the caller (i.e. the application) will handle the event.

[Android Documentation]

Requirements

Namespace: Android.Views.InputMethods
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3