toggle menu
Drifter
1.0.0-alpha02
androidJvm
switch theme
search in API
integration
/
dev.teogor.drifter.integration.utilities
/
MultiTapDetector
Multi
Tap
Detector
class
MultiTapDetector
(
var
screenSize
:
Point
)
Detects quick sequences of touch taps and notifies listeners about them.
Members
Constructors
Multi
Tap
Detector
Link copied to clipboard
constructor
(
screenSize
:
Point
)
Types
Companion
Link copied to clipboard
object
Companion
IMulti
Tap
Detected
Listener
Link copied to clipboard
fun
interface
IMultiTapDetectedListener
Properties
max
Time
Between
Taps
Link copied to clipboard
var
maxTimeBetweenTaps
:
Long
number
Of
Taps
Link copied to clipboard
var
numberOfTaps
:
Int
screen
Size
Link copied to clipboard
@
JvmField
var
screenSize
:
Point
tap
Zone
Radius
Relative
Link copied to clipboard
var
tapZoneRadiusRelative
:
Float
Functions
on
Touch
Event
Link copied to clipboard
fun
onTouchEvent
(
motionEvent
:
MotionEvent
)
register
Multi
Tap
Detected
Listener
Link copied to clipboard
@
Synchronized
fun
registerMultiTapDetectedListener
(
listener
:
MultiTapDetector.IMultiTapDetectedListener
?
)
unregister
Multi
Tap
Detected
Listener
Link copied to clipboard
@
Synchronized
fun
unregisterMultiTapDetectedListener
(
listener
:
MultiTapDetector.IMultiTapDetectedListener
?
)