GestureDetector.IOnGestureListener.OnLongPress(MotionEvent) 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.
Notified when a long press occurs with the initial on down MotionEvent
that trigged it.
[Android.Runtime.Register("onLongPress", "(Landroid/view/MotionEvent;)V", "GetOnLongPress_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnLongPress (Android.Views.MotionEvent e);
[<Android.Runtime.Register("onLongPress", "(Landroid/view/MotionEvent;)V", "GetOnLongPress_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnLongPress : Android.Views.MotionEvent -> unit
Parameters
The initial on down motion event that started the longpress.
- Attributes
Remarks
Notified when a long press occurs with the initial on down MotionEvent
that trigged it.
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.