connectSwipe

fun connectSwipe(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (velocityX: Double, velocityY: Double) -> Unit): <Error class: unknown class>

Emitted when the recognized gesture is finished.

Velocity and direction are a product of previously recorded events.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: velocityX velocity in the X axis, in pixels/sec; velocityY velocity in the Y axis, in pixels/sec