UNPKG

@dderevjanik/termux-api

Version:

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

12 lines (11 loc) 278 B
export interface BrightnessOptions { /** * Set the screen brightness between 0 and 255 or auto * @default 240 */ value: number | "auto"; } /** * Set the screen brightness */ export declare function brightness(options: BrightnessOptions): Promise<void>;