Gallery.OnLongPress(MotionEvent) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
参数
启动长压的下运动事件的初始时间。
实现
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。