GestureDetector.IOnDoubleTapListener.OnSingleTapConfirmed(MotionEvent) Method

Definition

Notified when a single-tap occurs.

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

Parameters

e
MotionEvent

The down motion event of the single-tap.

Returns

true if the event is consumed, else false

Attributes

Remarks

Notified when a single-tap occurs.

Unlike OnGestureListener#onSingleTapUp(MotionEvent), this will only be called after the detector is confident that the user's first tap is not followed by a second tap leading to a double-tap gesture.

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