bn.vibrateShort
▸ vibrateShort(options?
): Promise
<void
>
description
Make the mobile phone vibrate for a short time (15 ms). Only in iPhone 7 / 7 More Above and Android Model entry into force.
example
bn.vibrateShort({ type: "light" })
Parameters
Name | Type |
---|---|
options? | VibrateShortOption |
Returns
Promise
<void
>
Interface: VibrateShortOption
Name | Type | Description |
---|---|---|
type | "light" | "heavy" | "medium" | Vibration intensity type, valid values are: heavy, medium, light |