Packagecom.custardbelly.as3flobile.air.helper
Classpublic class TouchTapMediator
InheritanceTouchTapMediator Inheritance com.custardbelly.as3flobile.helper.TapMediator

TouchTapMediator is an ITapMediator implementation that uses touch event to monitor tap gestures.



Public Methods
 MethodDefined By
  
TouchTapMediator(threshold:int = 700)
Constructor.
TouchTapMediator
  
mediateTapGesture(display:InteractiveObject, handler:Function):void
[override]
TouchTapMediator
  
unmediateTapGesture(display:InteractiveObject):void
[override]
TouchTapMediator
Constructor Detail
TouchTapMediator()Constructor
public function TouchTapMediator(threshold:int = 700)

Constructor.

Parameters
threshold:int (default = 700) — int The maximum amount of time in milliseconds that relates to the time for a tap gesture.
Method Detail
mediateTapGesture()method
override public function mediateTapGesture(display:InteractiveObject, handler:Function):void

Parameters

display:InteractiveObject
 
handler:Function

unmediateTapGesture()method 
override public function unmediateTapGesture(display:InteractiveObject):void

Parameters

display:InteractiveObject