ConstVibrate the device for a specific duration and amplitude.
Vibration duration in milliseconds (default: 500ms)
Vibration strength 1-255, or -1 for device default
Response indicating success or failure
Vibrate the device with a custom pattern
Pulse durations (ms) in [wait, vibrate, wait, vibrate, ...] format.
Optionalintensities: number[]Optional vibration strengths (0-255). If provided, must be the same length as the pattern array.
A promise that resolves when the vibration command is sent.
Device vibration plugin.