harmony 鸿蒙js-apidiff-battery

  • 2023-06-24
  • 浏览 (464)

Change Type Old Version New Version d.ts File
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_SOC = ‘soc’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_CHARGE_STATE = ‘chargeState’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_HEALTH_STATE = ‘healthState’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_PLUGGED_TYPE = ‘pluggedType’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_VOLTAGE = ‘voltage’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_TECHNOLOGY = ‘technology’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_TEMPERATURE = ‘temperature’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_PRESENT = ‘present’
@ohos.batteryInfo.d.ts
Added NA Class name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_CAPACITY_LEVEL = ‘capacityLevel’
@ohos.batteryInfo.d.ts
Added NA Module name: ohos.charger
Class name: charger
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: NONE
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_NORMAL
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_QUICK
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_SUPER_QUICK
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_NORMAL
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_QUICK
@ohos.charger.d.ts
Added NA Module name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_SUPER_QUICK
@ohos.charger.d.ts
Deprecated version changed Class name: RunningLockType
Method or attribute name: BACKGROUND = 1
Deprecated version: N/A
Class name: RunningLockType
Method or attribute name: BACKGROUND = 1
Deprecated version: 10
Substitute API: N/A
@ohos.runningLock.d.ts
Error code added NA Class name: batteryStats
Method or attribute name: function getBatteryStats(): Promise<Array<BatteryStatsInfo>>;
Error code: 202, 4600101
@ohos.batteryStatistics.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

harmony 鸿蒙js-apidiff-customization

harmony 鸿蒙js-apidiff-distributed-data

0  赞