ViewGroup.OnInterceptTouchEvent(MotionEvent) ViewGroup.OnInterceptTouchEvent(MotionEvent) Method

Definition

Implement this method to intercept all touch screen motion events.

[Android.Runtime.Register("onInterceptTouchEvent", "(Landroid/view/MotionEvent;)Z", "GetOnInterceptTouchEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool OnInterceptTouchEvent (Android.Views.MotionEvent ev);
abstract member OnInterceptTouchEvent : Android.Views.MotionEvent -> bool
override this.OnInterceptTouchEvent : Android.Views.MotionEvent -> bool

Parameters

ev
MotionEvent MotionEvent

The motion event being dispatched down the hierarchy.

Returns

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