transientEventDuration property

double transientEventDuration
getter/setter pair

How long a HapticTransient event drives the motor on Android, in seconds.

AHAP gives a transient no duration: iOS plays it as a single short tap. A longer drive at constant amplitude is felt as a buzz rather than a tap.

Implementation

static double transientEventDuration = 0.02;