gn:act_vibrate
- Description
- Action used to activate device vibrate function
- Action returns
- void
Action signatures
Vibrate device
[gn:act_vibrate]|[pattern]
Parameter Description pattern
Array of intervals that are the durations for which to turn on or off the vibrator in milliseconds. The first value indicates the number of milliseconds to wait before turning the vibrator on.
The next value indicates the number of milliseconds for which to keep the vibrator on before turning it off.
Subsequent values alternate between durations in milliseconds to turn the vibrator off or to turn the vibrator on.- Can be:
hardcoded
- Can be:
Example
23,560,100,180,23,560,100,180
- durations for which to turn on or off the vibrator in milliseconds
- ⤷
[gn:act_vibrate]|[23,560,100,180,23,560,100,180]
- ⤷