Gallery.OnLongPress(MotionEvent) 方法

定义

注意

deprecated

当长时间按下时通知,初始按下 MotionEvent 时会尝试它。

[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

参数

e
MotionEvent

启动长压的下运动事件的初始时间。

实现

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于