capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

feat(haptics): implement method to stop vibration

Open JanPhill opened this issue 2 years ago • 0 comments

Feature Request

Plugin

haptics

Description

It should be possible to to stop (cancel) a vibration at any time.

Example: Ater initiating a vibration via vibrate(...) for 5000 ms it should be possible to manually stop it when needed (e.g. after 1000 ms).

Platform(s)

ios, android

Preferred Solution

Implement a method like stopVibration() to stop the device from vibrating.

JanPhill avatar Apr 11 '22 16:04 JanPhill