| 操作 | 旧版本 | 新版本 | d.ts文件 |
|---|---|---|---|
| 新增 | NA | 方法名 or 属性名:getPowerMode 函数:function getPowerMode(): DevicePowerMode; | @ohos.power.d.ts |
| 删除 | 模块名:ohos.power 类名:power 方法名 or 属性名:shutdownDevice | NA | @ohos.power.d.ts |
| 删除 | 模块名:ohos.power 类名:power 方法名 or 属性名:wakeupDevice | NA | @ohos.power.d.ts |
| 删除 | 模块名:ohos.power 类名:power 方法名 or 属性名:suspendDevice | NA | @ohos.power.d.ts |
| 访问级别有变化 | 类名:brightness 访问级别:公开API | 类名:brightness 访问级别:系统API | @ohos.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:rebootDevice 废弃版本:N/A | 方法名 or 属性名:rebootDevice 废弃版本:9 代替接口:{@link power | @ohos.power.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isScreenOn 废弃版本:N/A | 方法名 or 属性名:isScreenOn 废弃版本:9 代替接口:{@link power | @ohos.power.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isScreenOn 废弃版本:N/A | 方法名 or 属性名:isScreenOn 废弃版本:9 | @ohos.power.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:lock 废弃版本:N/A | 方法名 or 属性名:lock 废弃版本:9 代替接口:{@link RunningLock | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isUsed 废弃版本:N/A | 方法名 or 属性名:isUsed 废弃版本:9 代替接口:{@link RunningLock | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:unlock 废弃版本:N/A | 方法名 or 属性名:unlock 废弃版本:9 代替接口:{@link RunningLock | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isRunningLockTypeSupported 废弃版本:N/A | 方法名 or 属性名:isRunningLockTypeSupported 废弃版本:9 代替接口:{@link RunningLock | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isRunningLockTypeSupported 废弃版本:N/A | 方法名 or 属性名:isRunningLockTypeSupported 废弃版本:9 | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:createRunningLock 废弃版本:N/A | 方法名 or 属性名:createRunningLock 废弃版本:9 代替接口:{@link RunningLock | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:createRunningLock 废弃版本:N/A | 方法名 or 属性名:createRunningLock 废弃版本:9 | @ohos.runningLock.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:subscribeThermalLevel 废弃版本:N/A | 方法名 or 属性名:subscribeThermalLevel 废弃版本:9 代替接口:{@link thermal | @ohos.thermal.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:unsubscribeThermalLevel 废弃版本:N/A | 方法名 or 属性名:unsubscribeThermalLevel 废弃版本:9 代替接口:{@link thermal | @ohos.thermal.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getThermalLevel 废弃版本:N/A | 方法名 or 属性名:getThermalLevel 废弃版本:9 代替接口:{@link thermal | @ohos.thermal.d.ts |
| 废弃版本有变化 | 类名:BatteryResponse 废弃版本:9 | 类名:BatteryResponse 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:charging 废弃版本:9 | 方法名 or 属性名:charging 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:level 废弃版本:9 | 方法名 or 属性名:level 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 类名:GetStatusOptions 废弃版本:9 | 类名:GetStatusOptions 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:success 废弃版本:9 | 方法名 or 属性名:success 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:fail 废弃版本:9 | 方法名 or 属性名:fail 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:complete 废弃版本:9 | 方法名 or 属性名:complete 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 类名:Battery 废弃版本:9 | 类名:Battery 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getStatus 废弃版本:9 | 方法名 or 属性名:getStatus 废弃版本:6 | @system.battery.d.ts |
| 废弃版本有变化 | 类名:BrightnessResponse 废弃版本:9 | 类名:BrightnessResponse 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:value 废弃版本:9 | 方法名 or 属性名:value 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:GetBrightnessOptions 废弃版本:9 | 类名:GetBrightnessOptions 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:success 废弃版本:9 | 方法名 or 属性名:success 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:fail 废弃版本:9 | 方法名 or 属性名:fail 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:complete 废弃版本:9 | 方法名 or 属性名:complete 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:SetBrightnessOptions 废弃版本:9 | 类名:SetBrightnessOptions 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:value 废弃版本:9 | 方法名 or 属性名:value 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:success 废弃版本:9 | 方法名 or 属性名:success 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:fail 废弃版本:9 | 方法名 or 属性名:fail 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:complete 废弃版本:9 | 方法名 or 属性名:complete 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:BrightnessModeResponse 废弃版本:9 | 类名:BrightnessModeResponse 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:mode 废弃版本:9 | 方法名 or 属性名:mode 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:GetBrightnessModeOptions 废弃版本:9 | 类名:GetBrightnessModeOptions 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:success 废弃版本:9 | 方法名 or 属性名:success 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:fail 废弃版本:9 | 方法名 or 属性名:fail 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:complete 废弃版本:9 | 方法名 or 属性名:complete 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:SetBrightnessModeOptions 废弃版本:9 | 类名:SetBrightnessModeOptions 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:mode 废弃版本:9 | 方法名 or 属性名:mode 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:success 废弃版本:9 | 方法名 or 属性名:success 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:fail 废弃版本:9 | 方法名 or 属性名:fail 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:complete 废弃版本:9 | 方法名 or 属性名:complete 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:SetKeepScreenOnOptions 废弃版本:9 | 类名:SetKeepScreenOnOptions 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:keepScreenOn 废弃版本:9 | 方法名 or 属性名:keepScreenOn 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:success 废弃版本:9 | 方法名 or 属性名:success 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:fail 废弃版本:9 | 方法名 or 属性名:fail 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:complete 废弃版本:9 | 方法名 or 属性名:complete 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 类名:Brightness 废弃版本:9 | 类名:Brightness 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getValue 废弃版本:9 | 方法名 or 属性名:getValue 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setValue 废弃版本:9 | 方法名 or 属性名:setValue 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getMode 废弃版本:9 | 方法名 or 属性名:getMode 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setMode 废弃版本:9 | 方法名 or 属性名:setMode 废弃版本:7 | @system.brightness.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setKeepScreenOn 废弃版本:9 | 方法名 or 属性名:setKeepScreenOn 废弃版本:7 | @system.brightness.d.ts |
| 访问级别有变化 | 类名:brightness 访问级别:公开API | 类名:brightness 访问级别:系统API | @ohos.brightness.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication
harmony 鸿蒙js-apidiff-compiler-and-runtime