Keyboard.Key.OnPressed Method

Definition

Informs the key that it has been pressed, in case it needs to change its appearance or state.

[Android.Runtime.Register("onPressed", "()V", "GetOnPressedHandler")]
public virtual void OnPressed ();
[<Android.Runtime.Register("onPressed", "()V", "GetOnPressedHandler")>]
abstract member OnPressed : unit -> unit
override this.OnPressed : unit -> unit
Attributes

Remarks

Informs the key that it has been pressed, in case it needs to change its appearance or state.

Java documentation for android.inputmethodservice.Keyboard.Key.onPressed().

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

See also