setStylusOnly

open fun setStylusOnly(stylusOnly: Boolean)

Sets the state of stylus-only

If true, the gesture will exclusively handle events from stylus input devices, otherwise it'll handle events from any pointing device.

Since

4.10

Parameters

stylusOnly

whether the gesture is used exclusively for stylus events