Parameters
Code Example
Related APIs
my.vibrate
General vibration
my.vibrateShort
Short vibration
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Trigger a long device vibration.
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
my.vibrateLong({
success: () => {
console.log('Long vibration triggered');
}
});