语言

ZoomButtonsController.OnTouch(View, MotionEvent) 方法

定义

ZoomButtonsController 实现 OnTouchListener,但不需要在其公共 API 中显示。

[Android.Runtime.Register("onTouch", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnTouch_Landroid_view_View_Landroid_view_MotionEvent_Handler")]
public virtual bool OnTouch(Android.Views.View? v, Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onTouch", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnTouch_Landroid_view_View_Landroid_view_MotionEvent_Handler")>]
abstract member OnTouch : Android.Views.View * Android.Views.MotionEvent -> bool
override this.OnTouch : Android.Views.View * Android.Views.MotionEvent -> bool

参数

v
View

视图:已将触摸事件调度到的视图。

e
MotionEvent

e 值。

返回

如果侦听器已使用事件,则为 True;否则为 false。

实现

特性

注解

Java文档android.widget.ZoomButtonsController.onTouch(android.view.View, android.view.MotionEvent)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于