longPress

open fun longPress(screenX: Float, screenY: Float): Boolean

Triggered when a touch is pressed for a certain duration to be considered a long press.

Return

true if event is handled; false otherwise

See also

Parameters

screenX

the x-coord of the long press

screenY

the y-coord of the long press