GestureDetector.IOnDoubleTapListener.OnDoubleTap(MotionEvent) Method

Definition

Notified when a double-tap occurs.

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

Parameters

e
MotionEvent

The down motion event of the first tap of the double-tap.

Returns

true if the event is consumed, else false

Attributes

Remarks

Notified when a double-tap occurs. Triggered on the down event of second tap.

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