connectProximity

fun connectProximity(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (x: Double, y: Double) -> Unit): <Error class: unknown class>

Emitted when the stylus is in proximity of the device.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: x the X coordinate of the stylus event; y the Y coordinate of the stylus event