DoubleTapGestureDetector Class Reference

Double-tap detector. More...

Inheritance diagram for DoubleTapGestureDetector:
GestureDetector

List of all members.

Public Member Functions

 DoubleTapGestureDetector ()
 Constructor.

Protected Member Functions

internal override
GestureDetectorResponse 
OnTouchEvent (TouchEventCollection touchEvents)
 Distributes a touch event.
internal override void OnResetState ()
 Resets the state of gesture analysis.

Properties

float MaxDistance [get, set]
 Obtains and sets the maximum allowable distance from the first down position.
float MaxPressDuration [get, set]
 Obtains and sets the maximum time until down changes to up.
float MaxNextPressDuration [get, set]
 Obtains and sets the maximum time until up changes to down.

Events

EventHandler< DoubleTapEventArgsDoubleTapDetected
 Double-tap event handler.

Detailed Description

Double-tap detector.


Member Function Documentation

internal override GestureDetectorResponse OnTouchEvent ( TouchEventCollection  touchEvents) [protected, virtual]

Distributes a touch event.

Parameters:
touchEventsTouch event
Returns:
Response to touch event distribution

Implements GestureDetector.


Property Documentation

float MaxNextPressDuration [get, set]

Obtains and sets the maximum time until up changes to down.

(ms)

float MaxPressDuration [get, set]

Obtains and sets the maximum time until down changes to up.

(ms)