setTouchEmulationEnabled

Enables touch on platforms which do not support them.


suspend fun setTouchEmulationEnabled(enabled: Boolean, maxTouchPoints: Int? = null)

Enables touch on platforms which do not support them.

Parameters

enabled

Whether the touch event emulation should be enabled.

maxTouchPoints

Maximum touch points supported. Defaults to one.