Share via


Gallery.OnLongPress(MotionEvent) Method

Definition

Caution

deprecated

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")]
[System.Obsolete("deprecated")]
public virtual void OnLongPress (Android.Views.MotionEvent e);
[<Android.Runtime.Register("onLongPress", "(Landroid/view/MotionEvent;)V", "GetOnLongPress_Landroid_view_MotionEvent_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnLongPress : Android.Views.MotionEvent -> unit
override this.OnLongPress : Android.Views.MotionEvent -> unit

Parameters

e
MotionEvent

The initial on down motion event that started the longpress.

Implements

Attributes

Remarks

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