Share via


KeyboardView.IOnKeyboardActionListener.OnRelease(Keycode) Method

Definition

Called when the user releases a key.

[Android.Runtime.Register("onRelease", "(I)V", "GetOnRelease_IHandler:Android.InputMethodServices.KeyboardView/IOnKeyboardActionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnRelease (Android.Views.Keycode primaryCode);
[<Android.Runtime.Register("onRelease", "(I)V", "GetOnRelease_IHandler:Android.InputMethodServices.KeyboardView/IOnKeyboardActionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnRelease : Android.Views.Keycode -> unit

Parameters

primaryCode
Keycode

the code of the key that was released

Attributes

Remarks

Called when the user releases a key. This is sent after the #onKey is called. For keys that repeat, this is only called once.

Java documentation for android.inputmethodservice.KeyboardView.OnKeyboardActionListener.onRelease(int).

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.

Applies to