GestureDetector.IOnGestureListener.OnDown(MotionEvent) Method

Definition

Notified when a tap occurs with the down MotionEvent that triggered it.

[Android.Runtime.Register("onDown", "(Landroid/view/MotionEvent;)Z", "GetOnDown_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnDown (Android.Views.MotionEvent e);
[<Android.Runtime.Register("onDown", "(Landroid/view/MotionEvent;)Z", "GetOnDown_Landroid_view_MotionEvent_Handler:Android.Views.GestureDetector/IOnGestureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDown : Android.Views.MotionEvent -> bool

Parameters

e
MotionEvent

The down motion event.

Returns

Attributes

Remarks

Notified when a tap occurs with the down MotionEvent that triggered it. This will be triggered immediately for every down event. All other events should be preceded by this.

Java documentation for android.view.GestureDetector.OnGestureListener.onDown(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.

Applies to