View.DispatchTouchEvent(MotionEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pass the touch screen motion event down to the target view, or this view if it is the target.
[Android.Runtime.Register("dispatchTouchEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTouchEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchTouchEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchTouchEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTouchEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchTouchEvent : Android.Views.MotionEvent -> bool
override this.DispatchTouchEvent : Android.Views.MotionEvent -> bool
Parameters
The motion event to be dispatched.
Returns
True if the event was handled by the view, false otherwise.
- Attributes
Remarks
Pass the touch screen motion event down to the target view, or this view if it is the target.
Java documentation for android.view.View.dispatchTouchEvent(android.view.MotionEvent)
.
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.