openharmony 鸿蒙 js-apidiff-battery

2023-06-24 浏览 (621)
Change TypeOld VersionNew Versiond.ts File
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_SOC = 'soc'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_CHARGE_STATE = 'chargeState'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_HEALTH_STATE = 'healthState'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_PLUGGED_TYPE = 'pluggedType'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_VOLTAGE = 'voltage'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_TECHNOLOGY = 'technology'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_TEMPERATURE = 'temperature'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_PRESENT = 'present'
@ohos.batteryInfo.d.ts
AddedNAClass name: CommonEventBatteryChangedKey
Method or attribute name: EXTRA_CAPACITY_LEVEL = 'capacityLevel'
@ohos.batteryInfo.d.ts
AddedNAModule name: ohos.charger
Class name: charger
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: NONE
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_NORMAL
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_QUICK
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRED_SUPER_QUICK
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_NORMAL
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_QUICK
@ohos.charger.d.ts
AddedNAModule name: ohos.charger
Class name: ChargeType
Method or attribute name: WIRELESS_SUPER_QUICK
@ohos.charger.d.ts
Deprecated version changedClass 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 addedNAClass 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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/c784f29088564b5f9a1e49d6c5733899