MultiTapListener class abstract
Interface that must be implemented by a game in order for it to be eligible to receive events from a MultiTapGestureRecognizer.
Instead of implementing this class directly consider using one of the prebuilt mixins:
- MultiTouchTapDetector for a custom
Game
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- longTapDelay → double
-
The amount of time before the "long tap down" event is triggered.
no setter
- renderBox → GameRenderBox
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleLongTapDown(
int pointerId, TapDownDetails details) → void - A pointer that has previously triggered handleTapDown is still touching the screen after longTapDelay seconds.
-
handleTap(
int pointerId) → void - A tap has occurred.
-
handleTapCancel(
int pointerId) → void - A pointer that already triggered handleTapDown will not trigger handleTap.
-
handleTapDown(
int pointerId, TapDownDetails details) → void - A pointer has touched the screen.
-
handleTapUp(
int pointerId, TapUpDetails details) → void - A pointer stopped contacting the screen.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited