Android.InputMethodServices.KeyboardView.IOnKeyboardActionListener.OnKey Method
Send a key press to the listener.

Syntax

[Android.Runtime.Register("onKey", "(I[I)V", "GetOnKey_IarrayIHandler:Android.InputMethodServices.KeyboardView/IOnKeyboardActionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnKey ([Android.Runtime.GeneratedEnum] Android.Views.Keycode primaryCode, [Android.Runtime.GeneratedEnum] Android.Views.Keycode[] keyCodes)

Parameters

primaryCode
this is the key that was pressed
keyCodes
the codes for all the possible alternative keys with the primary code being the first. If the primary key code is a single character such as an alphabet or number or symbol, the alternatives will include other characters that may be on the same key or adjacent keys. These codes are useful to correct for accidental presses of a key adjacent to the intended key.

Remarks

Send a key press to the listener.

[Android Documentation]

Requirements

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