Skip to main content

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

NameType
options?VibrateShortOption

Returns

Promise<void>


Interface: VibrateShortOption#

NameTypeDescription
type"light" | "heavy" | "medium"Vibration intensity type, valid values are: heavy, medium, light