harmony 鸿蒙js-apidiff-battery

  • 2023-02-03
  • 浏览 (492)

Change Type Old Version New Version d.ts File
Added NA Method or attribute name: getPowerMode
Function name: function getPowerMode(): DevicePowerMode;
@ohos.power.d.ts
Deleted Module name: ohos.power
Class name: power
Method or attribute name: shutdownDevice
NA @ohos.power.d.ts
Deleted Module name: ohos.power
Class name: power
Method or attribute name: wakeupDevice
NA @ohos.power.d.ts
Deleted Module name: ohos.power
Class name: power
Method or attribute name: suspendDevice
NA @ohos.power.d.ts
Deprecated version changed Method or attribute name: rebootDevice
Deprecated version: N/A
Method or attribute name: rebootDevice
Deprecated version: 9
Substitute API: {@link power
@ohos.power.d.ts
Deprecated version changed Method or attribute name: isScreenOn
Deprecated version: N/A
Method or attribute name: isScreenOn
Deprecated version: 9
Substitute API: {@link power
@ohos.power.d.ts
Deprecated version changed Method or attribute name: isScreenOn
Deprecated version: N/A
Method or attribute name: isScreenOn
Deprecated version: 9
@ohos.power.d.ts
Deprecated version changed Method or attribute name: lock
Deprecated version: N/A
Method or attribute name: lock
Deprecated version: 9
Substitute API: {@link RunningLock
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: isUsed
Deprecated version: N/A
Method or attribute name: isUsed
Deprecated version: 9
Substitute API: {@link RunningLock
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: unlock
Deprecated version: N/A
Method or attribute name: unlock
Deprecated version: 9
Substitute API: {@link RunningLock
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: isRunningLockTypeSupported
Deprecated version: N/A
Method or attribute name: isRunningLockTypeSupported
Deprecated version: 9
Substitute API: {@link RunningLock
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: isRunningLockTypeSupported
Deprecated version: N/A
Method or attribute name: isRunningLockTypeSupported
Deprecated version: 9
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: createRunningLock
Deprecated version: N/A
Method or attribute name: createRunningLock
Deprecated version: 9
Substitute API: {@link RunningLock
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: createRunningLock
Deprecated version: N/A
Method or attribute name: createRunningLock
Deprecated version: 9
@ohos.runningLock.d.ts
Deprecated version changed Method or attribute name: subscribeThermalLevel
Deprecated version: N/A
Method or attribute name: subscribeThermalLevel
Deprecated version: 9
Substitute API: {@link thermal
@ohos.thermal.d.ts
Deprecated version changed Method or attribute name: unsubscribeThermalLevel
Deprecated version: N/A
Method or attribute name: unsubscribeThermalLevel
Deprecated version: 9
Substitute API: {@link thermal
@ohos.thermal.d.ts
Deprecated version changed Method or attribute name: getThermalLevel
Deprecated version: N/A
Method or attribute name: getThermalLevel
Deprecated version: 9
Substitute API: {@link thermal
@ohos.thermal.d.ts
Deprecated version changed Class name: BatteryResponse
Deprecated version: 9
Class name: BatteryResponse
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Method or attribute name: charging
Deprecated version: 9
Method or attribute name: charging
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Method or attribute name: level
Deprecated version: 9
Method or attribute name: level
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Class name: GetStatusOptions
Deprecated version: 9
Class name: GetStatusOptions
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Method or attribute name: success
Deprecated version: 9
Method or attribute name: success
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Method or attribute name: fail
Deprecated version: 9
Method or attribute name: fail
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Method or attribute name: complete
Deprecated version: 9
Method or attribute name: complete
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Class name: Battery
Deprecated version: 9
Class name: Battery
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Method or attribute name: getStatus
Deprecated version: 9
Method or attribute name: getStatus
Deprecated version: 6
@system.battery.d.ts
Deprecated version changed Class name: BrightnessResponse
Deprecated version: 9
Class name: BrightnessResponse
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: value
Deprecated version: 9
Method or attribute name: value
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: GetBrightnessOptions
Deprecated version: 9
Class name: GetBrightnessOptions
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: success
Deprecated version: 9
Method or attribute name: success
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: fail
Deprecated version: 9
Method or attribute name: fail
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: complete
Deprecated version: 9
Method or attribute name: complete
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: SetBrightnessOptions
Deprecated version: 9
Class name: SetBrightnessOptions
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: value
Deprecated version: 9
Method or attribute name: value
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: success
Deprecated version: 9
Method or attribute name: success
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: fail
Deprecated version: 9
Method or attribute name: fail
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: complete
Deprecated version: 9
Method or attribute name: complete
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: BrightnessModeResponse
Deprecated version: 9
Class name: BrightnessModeResponse
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: mode
Deprecated version: 9
Method or attribute name: mode
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: GetBrightnessModeOptions
Deprecated version: 9
Class name: GetBrightnessModeOptions
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: success
Deprecated version: 9
Method or attribute name: success
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: fail
Deprecated version: 9
Method or attribute name: fail
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: complete
Deprecated version: 9
Method or attribute name: complete
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: SetBrightnessModeOptions
Deprecated version: 9
Class name: SetBrightnessModeOptions
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: mode
Deprecated version: 9
Method or attribute name: mode
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: success
Deprecated version: 9
Method or attribute name: success
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: fail
Deprecated version: 9
Method or attribute name: fail
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: complete
Deprecated version: 9
Method or attribute name: complete
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: SetKeepScreenOnOptions
Deprecated version: 9
Class name: SetKeepScreenOnOptions
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: keepScreenOn
Deprecated version: 9
Method or attribute name: keepScreenOn
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: success
Deprecated version: 9
Method or attribute name: success
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: fail
Deprecated version: 9
Method or attribute name: fail
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: complete
Deprecated version: 9
Method or attribute name: complete
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Class name: Brightness
Deprecated version: 9
Class name: Brightness
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: getValue
Deprecated version: 9
Method or attribute name: getValue
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: setValue
Deprecated version: 9
Method or attribute name: setValue
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: getMode
Deprecated version: 9
Method or attribute name: getMode
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: setMode
Deprecated version: 9
Method or attribute name: setMode
Deprecated version: 7
@system.brightness.d.ts
Deprecated version changed Method or attribute name: setKeepScreenOn
Deprecated version: 9
Method or attribute name: setKeepScreenOn
Deprecated version: 7
@system.brightness.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

0  赞