harmony 鸿蒙js-apidiff-battery
| 操作 | 旧版本 | 新版本 | d.ts文件 | 
|---|---|---|---|
| 删除 | 类名:power; 方法or属性:function shutdownDevice(reason: string): void;  | 
NA | @ohos.power.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_FULL  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_HIGH  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_NORMAL  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_LOW  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_WARNING  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_CRITICAL  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:BatteryCapacityLevel; 方法or属性:LEVEL_SHUTDOWN  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_SOC = “soc”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_CHARGE_STATE = “chargeState”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_HEALTH_STATE = “healthState”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_PLUGGED_TYPE = “pluggedType”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_VOLTAGE = “voltage”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_TECHNOLOGY = “technology”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_TEMPERATURE = “temperature”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_PRESENT = “present”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:CommonEventBatteryChangedKey; 方法or属性:EXTRA_CAPACITY_LEVEL = “capacityLevel”  | 
@ohos.batteryInfo.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function shutdown(reason: string): void;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function reboot(reason: string): void;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function isActive(): boolean;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function wakeup(detail: string): void;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function suspend(): void;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function getPowerMode(): DevicePowerMode;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function setPowerMode(mode: DevicePowerMode, callback: AsyncCallback<void>): void;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:power; 方法or属性:function setPowerMode(mode: DevicePowerMode): Promise<void>;  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:DevicePowerMode; 方法or属性:MODE_NORMAL = 600  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:DevicePowerMode; 方法or属性:MODE_POWER_SAVE  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:DevicePowerMode; 方法or属性:MODE_PERFORMANCE  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:DevicePowerMode; 方法or属性:MODE_EXTREME_POWER_SAVE  | 
@ohos.power.d.ts | 
| 新增 | NA | 类名:runningLock; 方法or属性:function isSupported(type: RunningLockType): boolean;  | 
@ohos.runningLock.d.ts | 
| 新增 | NA | 类名:runningLock; 方法or属性:function create(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void;  | 
@ohos.runningLock.d.ts | 
| 新增 | NA | 类名:runningLock; 方法or属性:function create(name: string, type: RunningLockType): Promise<RunningLock>;  | 
@ohos.runningLock.d.ts | 
| 新增 | NA | 类名:RunningLock; 方法or属性:hold(timeout: number): void;  | 
@ohos.runningLock.d.ts | 
| 新增 | NA | 类名:RunningLock; 方法or属性:isHolding(): boolean;  | 
@ohos.runningLock.d.ts | 
| 新增 | NA | 类名:RunningLock; 方法or属性:unhold(): void;  | 
@ohos.runningLock.d.ts | 
| 新增 | NA | 类名:thermal; 方法or属性:function registerThermalLevelCallback(callback: Callback<ThermalLevel>): void;  | 
@ohos.thermal.d.ts | 
| 新增 | NA | 类名:thermal; 方法or属性:function unregisterThermalLevelCallback(callback?: Callback<void>): void;  | 
@ohos.thermal.d.ts | 
| 新增 | NA | 类名:thermal; 方法or属性:function getLevel(): ThermalLevel;  | 
@ohos.thermal.d.ts | 
| 废弃版本有变化 | 类名:power; 方法or属性:function rebootDevice(reason: string): void; 旧版本信息:  | 
类名:power; 方法or属性:function rebootDevice(reason: string): void; 新版本信息:9 代替接口:  | 
@ohos.power.d.ts | 
| 废弃版本有变化 | 类名:power; 方法or属性:function isScreenOn(callback: AsyncCallback<boolean>): void; 旧版本信息:  | 
类名:power; 方法or属性:function isScreenOn(callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口:  | 
@ohos.power.d.ts | 
| 废弃版本有变化 | 类名:power; 方法or属性:function isScreenOn(): Promise<boolean>; 旧版本信息:  | 
类名:power; 方法or属性:function isScreenOn(): Promise<boolean>; 新版本信息:9 代替接口:  | 
@ohos.power.d.ts | 
| 废弃版本有变化 | 类名:runningLock; 方法or属性:function isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback<boolean>): void; 旧版本信息:  | 
类名:runningLock; 方法or属性:function isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback<boolean>): void; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:runningLock; 方法or属性:function isRunningLockTypeSupported(type: RunningLockType): Promise<boolean>; 旧版本信息:  | 
类名:runningLock; 方法or属性:function isRunningLockTypeSupported(type: RunningLockType): Promise<boolean>; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:runningLock; 方法or属性:function createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void; 旧版本信息:  | 
类名:runningLock; 方法or属性:function createRunningLock(name: string, type: RunningLockType, callback: AsyncCallback<RunningLock>): void; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:runningLock; 方法or属性:function createRunningLock(name: string, type: RunningLockType): Promise<RunningLock>; 旧版本信息:  | 
类名:runningLock; 方法or属性:function createRunningLock(name: string, type: RunningLockType): Promise<RunningLock>; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:RunningLock; 方法or属性:lock(timeout: number): void; 旧版本信息:  | 
类名:RunningLock; 方法or属性:lock(timeout: number): void; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:RunningLock; 方法or属性:isUsed(): boolean; 旧版本信息:  | 
类名:RunningLock; 方法or属性:isUsed(): boolean; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:RunningLock; 方法or属性:unlock(): void; 旧版本信息:  | 
类名:RunningLock; 方法or属性:unlock(): void; 新版本信息:9 代替接口:  | 
@ohos.runningLock.d.ts | 
| 废弃版本有变化 | 类名:thermal; 方法or属性:function subscribeThermalLevel(callback: AsyncCallback<ThermalLevel>): void; 旧版本信息:  | 
类名:thermal; 方法or属性:function subscribeThermalLevel(callback: AsyncCallback<ThermalLevel>): void; 新版本信息:9 代替接口:  | 
@ohos.thermal.d.ts | 
| 废弃版本有变化 | 类名:thermal; 方法or属性:function unsubscribeThermalLevel(callback?: AsyncCallback<void>): void; 旧版本信息:  | 
类名:thermal; 方法or属性:function unsubscribeThermalLevel(callback?: AsyncCallback<void>): void; 新版本信息:9 代替接口:  | 
@ohos.thermal.d.ts | 
| 废弃版本有变化 | 类名:thermal; 方法or属性:function getThermalLevel(): ThermalLevel; 旧版本信息:  | 
类名:thermal; 方法or属性:function getThermalLevel(): ThermalLevel; 新版本信息:9 代替接口:  | 
@ohos.thermal.d.ts | 
| 废弃版本有变化 | 类名:BatteryResponse; 方法or属性:export interface BatteryResponse 旧版本信息:  | 
类名:BatteryResponse; 方法or属性:export interface BatteryResponse 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:BatteryResponse; 方法or属性:charging: boolean; 旧版本信息:  | 
类名:BatteryResponse; 方法or属性:charging: boolean; 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:BatteryResponse; 方法or属性:level: number; 旧版本信息:  | 
类名:BatteryResponse; 方法or属性:level: number; 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:GetStatusOptions; 方法or属性:export interface GetStatusOptions 旧版本信息:  | 
类名:GetStatusOptions; 方法or属性:export interface GetStatusOptions 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:GetStatusOptions; 方法or属性:success?: (data: BatteryResponse) => void; 旧版本信息:  | 
类名:GetStatusOptions; 方法or属性:success?: (data: BatteryResponse) => void; 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:GetStatusOptions; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息:  | 
类名:GetStatusOptions; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:GetStatusOptions; 方法or属性:complete?: () => void; 旧版本信息:  | 
类名:GetStatusOptions; 方法or属性:complete?: () => void; 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:Battery; 方法or属性:export default class Battery 旧版本信息:  | 
类名:Battery; 方法or属性:export default class Battery 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:Battery; 方法or属性:static getStatus(options?: GetStatusOptions): void; 旧版本信息:  | 
类名:Battery; 方法or属性:static getStatus(options?: GetStatusOptions): void; 新版本信息:6 代替接口:  | 
@system.battery.d.ts | 
| 废弃版本有变化 | 类名:BrightnessResponse; 方法or属性:export interface BrightnessResponse 旧版本信息:  | 
类名:BrightnessResponse; 方法or属性:export interface BrightnessResponse 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:BrightnessResponse; 方法or属性:value: number; 旧版本信息:  | 
类名:BrightnessResponse; 方法or属性:value: number; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessOptions; 方法or属性:value: number; 旧版本信息:  | 
类名:SetBrightnessOptions; 方法or属性:value: number; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessOptions; 方法or属性:export interface GetBrightnessOptions 旧版本信息:  | 
类名:GetBrightnessOptions; 方法or属性:export interface GetBrightnessOptions 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessOptions; 方法or属性:success?: (data: BrightnessResponse) => void; 旧版本信息:  | 
类名:GetBrightnessOptions; 方法or属性:success?: (data: BrightnessResponse) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessOptions; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息:  | 
类名:GetBrightnessOptions; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessOptions; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息:  | 
类名:SetBrightnessOptions; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessModeOptions; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息:  | 
类名:GetBrightnessModeOptions; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessModeOptions; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息:  | 
类名:SetBrightnessModeOptions; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetKeepScreenOnOptions; 方法or属性:fail?: (data: string, code: number) => void; 旧版本信息:  | 
类名:SetKeepScreenOnOptions; 方法or属性:fail?: (data: string, code: number) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessOptions; 方法or属性:complete?: () => void; 旧版本信息:  | 
类名:GetBrightnessOptions; 方法or属性:complete?: () => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessOptions; 方法or属性:complete?: () => void 旧版本信息:  | 
类名:SetBrightnessOptions; 方法or属性:complete?: () => void 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessModeOptions; 方法or属性:complete?: () => void; 旧版本信息:  | 
类名:GetBrightnessModeOptions; 方法or属性:complete?: () => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessModeOptions; 方法or属性:complete?: () => void 旧版本信息:  | 
类名:SetBrightnessModeOptions; 方法or属性:complete?: () => void 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetKeepScreenOnOptions; 方法or属性:complete?: () => void 旧版本信息:  | 
类名:SetKeepScreenOnOptions; 方法or属性:complete?: () => void 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessOptions; 方法or属性:export interface SetBrightnessOptions 旧版本信息:  | 
类名:SetBrightnessOptions; 方法or属性:export interface SetBrightnessOptions 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessOptions; 方法or属性:success?: () => void; 旧版本信息:  | 
类名:SetBrightnessOptions; 方法or属性:success?: () => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessModeOptions; 方法or属性:success?: () => void; 旧版本信息:  | 
类名:SetBrightnessModeOptions; 方法or属性:success?: () => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetKeepScreenOnOptions; 方法or属性:success?: () => void; 旧版本信息:  | 
类名:SetKeepScreenOnOptions; 方法or属性:success?: () => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:BrightnessModeResponse; 方法or属性:export interface BrightnessModeResponse 旧版本信息:  | 
类名:BrightnessModeResponse; 方法or属性:export interface BrightnessModeResponse 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:BrightnessModeResponse; 方法or属性:mode: number; 旧版本信息:  | 
类名:BrightnessModeResponse; 方法or属性:mode: number; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessModeOptions; 方法or属性:mode: number; 旧版本信息:  | 
类名:SetBrightnessModeOptions; 方法or属性:mode: number; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessModeOptions; 方法or属性:export interface GetBrightnessModeOptions 旧版本信息:  | 
类名:GetBrightnessModeOptions; 方法or属性:export interface GetBrightnessModeOptions 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:GetBrightnessModeOptions; 方法or属性:success?: (data: BrightnessModeResponse) => void; 旧版本信息:  | 
类名:GetBrightnessModeOptions; 方法or属性:success?: (data: BrightnessModeResponse) => void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetBrightnessModeOptions; 方法or属性:export interface SetBrightnessModeOptions 旧版本信息:  | 
类名:SetBrightnessModeOptions; 方法or属性:export interface SetBrightnessModeOptions 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetKeepScreenOnOptions; 方法or属性:export interface SetKeepScreenOnOptions 旧版本信息:  | 
类名:SetKeepScreenOnOptions; 方法or属性:export interface SetKeepScreenOnOptions 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:SetKeepScreenOnOptions; 方法or属性:keepScreenOn: boolean; 旧版本信息:  | 
类名:SetKeepScreenOnOptions; 方法or属性:keepScreenOn: boolean; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:Brightness; 方法or属性:export default class Brightness 旧版本信息:  | 
类名:Brightness; 方法or属性:export default class Brightness 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:Brightness; 方法or属性:static getValue(options?: GetBrightnessOptions): void; 旧版本信息:  | 
类名:Brightness; 方法or属性:static getValue(options?: GetBrightnessOptions): void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:Brightness; 方法or属性:static setValue(options?: SetBrightnessOptions): void; 旧版本信息:  | 
类名:Brightness; 方法or属性:static setValue(options?: SetBrightnessOptions): void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:Brightness; 方法or属性:static getMode(options?: GetBrightnessModeOptions): void; 旧版本信息:  | 
类名:Brightness; 方法or属性:static getMode(options?: GetBrightnessModeOptions): void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:Brightness; 方法or属性:static setMode(options?: SetBrightnessModeOptions): void; 旧版本信息:  | 
类名:Brightness; 方法or属性:static setMode(options?: SetBrightnessModeOptions): void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 废弃版本有变化 | 类名:Brightness; 方法or属性:static setKeepScreenOn(options?: SetKeepScreenOnOptions): void; 旧版本信息:  | 
类名:Brightness; 方法or属性:static setKeepScreenOn(options?: SetKeepScreenOnOptions): void; 新版本信息:7 代替接口:  | 
@system.brightness.d.ts | 
| 新增(错误码) | 类名:batteryStats; 方法or属性:function getBatteryStats(callback: AsyncCallback<Array<BatteryStatsInfo>>): void; 旧版本信息:  | 
类名:batteryStats; 方法or属性:function getBatteryStats(callback: AsyncCallback<Array<BatteryStatsInfo>>): void; 新版本信息:401  | 
@ohos.batteryStatistics.d.ts | 
| 新增(错误码) | 类名:batteryStats; 方法or属性:function getAppPowerValue(uid: number): number; 旧版本信息:  | 
类名:batteryStats; 方法or属性:function getAppPowerValue(uid: number): number; 新版本信息:4600101  | 
@ohos.batteryStatistics.d.ts | 
| 新增(错误码) | 类名:batteryStats; 方法or属性:function getAppPowerPercent(uid: number): number; 旧版本信息:  | 
类名:batteryStats; 方法or属性:function getAppPowerPercent(uid: number): number; 新版本信息:4600101  | 
@ohos.batteryStatistics.d.ts | 
| 新增(错误码) | 类名:batteryStats; 方法or属性:function getHardwareUnitPowerValue(type: ConsumptionType): number; 旧版本信息:  | 
类名:batteryStats; 方法or属性:function getHardwareUnitPowerValue(type: ConsumptionType): number; 新版本信息:401,4600101  | 
@ohos.batteryStatistics.d.ts | 
| 新增(错误码) | 类名:batteryStats; 方法or属性:function getHardwareUnitPowerPercent(type: ConsumptionType): number; 旧版本信息:  | 
类名:batteryStats; 方法or属性:function getHardwareUnitPowerPercent(type: ConsumptionType): number; 新版本信息:401,4600101  | 
@ohos.batteryStatistics.d.ts | 
| 新增(错误码) | 类名:brightness; 方法or属性:function setValue(value: number): void; 旧版本信息:  | 
类名:brightness; 方法or属性:function setValue(value: number): void; 新版本信息:401,4700101  | 
@ohos.brightness.d.ts | 
| 访问级别有变化 | 类名:brightness; 方法or属性:declare brightness 旧版本信息:  | 
类名:brightness; 方法or属性:declare brightness 新版本信息:systemapi  | 
@ohos.brightness.d.ts | 
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication
                        
                            0
                        
                        
                             赞
                        
                    
                    
                - 所属分类: 后端技术
 - 本文标签:
 
热门推荐
- 
                        2、 - 优质文章
 - 
                        3、 gate.io
 - 
                        7、 openharmony
 - 
                        9、 golang