# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods

# GestureDetector.OnDoubleTapListener

`public static interface GestureDetector.OnDoubleTapListener`
``

android.view.GestureDetector.OnDoubleTapListener

Known indirect subclasses GestureDetector.SimpleOnGestureListener
GestureDetector.SimpleOnGestureListener | A convenience class to extend when you only want to listen for a subset of all the gestures.

The listener that is used to notify when a double-tap or a confirmed single-tap occur.

## Summary

### Public methods
`abstract boolean` | `onDoubleTap(MotionEvent e)` Notified when a double-tap occurs.
`abstract boolean` | `onDoubleTapEvent(MotionEvent e)` Notified when an event within a double-tap gesture occurs, including the down, move, and up events.
`abstract boolean` | `onSingleTapConfirmed(MotionEvent e)` Notified when a single-tap occurs.

## Public methods

### onDoubleTap

    public abstract boolean onDoubleTap (MotionEvent e)

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

Parameters
`e` | `MotionEvent`: The down motion event of the first tap of the double-tap.

Returns
`boolean` | true if the event is consumed, else false

### onDoubleTapEvent

    public abstract boolean onDoubleTapEvent (MotionEvent e)

Notified when an event within a double-tap gesture occurs, including the down, move, and up events.

Parameters
`e` | `MotionEvent`: The motion event that occurred during the double-tap gesture.

Returns
`boolean` | true if the event is consumed, else false

### onSingleTapConfirmed

    public abstract boolean onSingleTapConfirmed (MotionEvent e)

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.

Parameters
`e` | `MotionEvent`: The down motion event of the single-tap.

Returns
`boolean` | true if the event is consumed, else false

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*