playEffectAsync
fun playEffectAsync(type: GamepadHapticEffectType, params: GamepadEffectParameters = definedExternally): Promise<GamepadHapticsResult>(source)
The playEffect()
method of the GamepadHapticActuator interface causes the hardware to play a specific vibration effect.