Udostępnij za pośrednictwem


KeyEvent.DispatcherState.HandleUpEvent(KeyEvent) Method

Definition

Handle key up event to stop tracking.

[Android.Runtime.Register("handleUpEvent", "(Landroid/view/KeyEvent;)V", "GetHandleUpEvent_Landroid_view_KeyEvent_Handler")]
public virtual void HandleUpEvent (Android.Views.KeyEvent? e);
[<Android.Runtime.Register("handleUpEvent", "(Landroid/view/KeyEvent;)V", "GetHandleUpEvent_Landroid_view_KeyEvent_Handler")>]
abstract member HandleUpEvent : Android.Views.KeyEvent -> unit
override this.HandleUpEvent : Android.Views.KeyEvent -> unit

Parameters

Attributes

Remarks

Handle key up event to stop tracking. This resets the dispatcher state, and updates the key event state based on it.

This is only needed if you are directly dispatching events, rather than handling them in Callback#onKeyUp.

Java documentation for android.view.KeyEvent.DispatcherState.handleUpEvent(android.view.KeyEvent).

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