diff --git a/api/@system.brightness.d.ts b/api/@system.brightness.d.ts index 6e67325d6f9423efb33d11f4d662c714926c9b24..84f0aa9a41ec4d9f85654d69dd09c22417b75d58 100755 --- a/api/@system.brightness.d.ts +++ b/api/@system.brightness.d.ts @@ -19,7 +19,7 @@ */ export interface BrightnessResponse { /** - * Screen brightness, which ranges from 1 to 100. + * Screen brightness, which ranges from 1 to 255. * @since 3 */ value: number; @@ -201,7 +201,7 @@ export default class Brightness { * @param options Options. * @since 3 */ - static setValue(options?: SetBrightnessOptions): void; + static setValue(options: SetBrightnessOptions): void; /** * Obtains the screen brightness adjustment mode. @@ -215,12 +215,12 @@ export default class Brightness { * @param options Options. * @since 3 */ - static setMode(options?: SetBrightnessModeOptions): void; + static setMode(options: SetBrightnessModeOptions): void; /** - * Sets whether to always keey the screen on. + * Sets whether to always keep the screen on. * @param options Options. * @since 3 */ - static setKeepScreenOn(options?: SetKeepScreenOnOptions): void; -} \ No newline at end of file + static setKeepScreenOn(options: SetKeepScreenOnOptions): void; +}