UNPKG

@dderevjanik/termux-api

Version:

This library allows you to interact with your Android device from Node.js using termux-api

17 lines (16 loc) 339 B
export interface VibrateOptions { /** * The duration to vibrate in ms * @default 1000 */ duration?: number; /** * Force vibration even in silent mode * @default false */ force?: boolean; } /** * Vibrate the device */ export declare function vibrate(options?: VibrateOptions): Promise<void>;