KeyEvent.DispatcherState.PerformedLongPress(KeyEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Keep track of the given event's key code as having performed an action with a long press, so no action should occur on the up.
[Android.Runtime.Register("performedLongPress", "(Landroid/view/KeyEvent;)V", "GetPerformedLongPress_Landroid_view_KeyEvent_Handler")]
public virtual void PerformedLongPress (Android.Views.KeyEvent? e);
[<Android.Runtime.Register("performedLongPress", "(Landroid/view/KeyEvent;)V", "GetPerformedLongPress_Landroid_view_KeyEvent_Handler")>]
abstract member PerformedLongPress : Android.Views.KeyEvent -> unit
override this.PerformedLongPress : Android.Views.KeyEvent -> unit
Parameters
- e
- KeyEvent
- Attributes
Remarks
Keep track of the given event's key code as having performed an action with a long press, so no action should occur on the up.
This is only needed if you are directly dispatching events, rather than handling them in Callback#onKeyLongPress
.
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.