connectToolChanged
fun connectToolChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (tool: DeviceTool) -> Unit): <Error class: unknown class>
Emitted on pen/eraser devices whenever tools enter or leave proximity.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: tool
The new current tool