• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:BatteryCapacityLevel<br>方法or属性:LEVEL_WARNING|@ohos.batteryInfo.d.ts|
4|新增|NA|类名:BatteryCapacityLevel<br>方法or属性:LEVEL_SHUTDOWN|@ohos.batteryInfo.d.ts|
5|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey|@ohos.batteryInfo.d.ts|
6|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:|@ohos.batteryInfo.d.ts|
7|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_SOC = "soc"|@ohos.batteryInfo.d.ts|
8|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_SOC = "soc"|@ohos.batteryInfo.d.ts|
9|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_CHARGE_STATE = "chargeState"|@ohos.batteryInfo.d.ts|
10|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_CHARGE_STATE = "chargeState"|@ohos.batteryInfo.d.ts|
11|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_HEALTH_STATE = "healthState"|@ohos.batteryInfo.d.ts|
12|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_HEALTH_STATE = "healthState"|@ohos.batteryInfo.d.ts|
13|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_PLUGGED_TYPE = "pluggedType"|@ohos.batteryInfo.d.ts|
14|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_PLUGGED_TYPE = "pluggedType"|@ohos.batteryInfo.d.ts|
15|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_VOLTAGE = "voltage"|@ohos.batteryInfo.d.ts|
16|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_VOLTAGE = "voltage"|@ohos.batteryInfo.d.ts|
17|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_TECHNOLOGY = "technology"|@ohos.batteryInfo.d.ts|
18|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_TECHNOLOGY = "technology"|@ohos.batteryInfo.d.ts|
19|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_TEMPERATURE = "temperature"|@ohos.batteryInfo.d.ts|
20|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_TEMPERATURE = "temperature"|@ohos.batteryInfo.d.ts|
21|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_PRESENT = "present"|@ohos.batteryInfo.d.ts|
22|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_PRESENT = "present"|@ohos.batteryInfo.d.ts|
23|新增|NA|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedKey<br>方法 or 属性:EXTRA_CAPACITY_LEVEL = "capacityLevel"|@ohos.batteryInfo.d.ts|
24|新增|NA|类名:CommonEventBatteryChangedKey<br>方法or属性:EXTRA_CAPACITY_LEVEL = "capacityLevel"|@ohos.batteryInfo.d.ts|
25|删除|模块名:ohos.batteryInfo<br>类名:BatteryCapacityLevel<br>方法 or 属性:LEVEL_NONE|NA|@ohos.batteryInfo.d.ts|
26|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode|NA|@ohos.batteryInfo.d.ts|
27|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_SOC = 0|NA|@ohos.batteryInfo.d.ts|
28|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_VOLTAGE|NA|@ohos.batteryInfo.d.ts|
29|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_TEMPERATURE|NA|@ohos.batteryInfo.d.ts|
30|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_HEALTH_STATE|NA|@ohos.batteryInfo.d.ts|
31|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_PLUGGED_TYPE|NA|@ohos.batteryInfo.d.ts|
32|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_MAX_CURRENT|NA|@ohos.batteryInfo.d.ts|
33|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_MAX_VOLTAGE|NA|@ohos.batteryInfo.d.ts|
34|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_CHARGE_STATE|NA|@ohos.batteryInfo.d.ts|
35|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_CHARGE_COUNTER|NA|@ohos.batteryInfo.d.ts|
36|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_PRESENT|NA|@ohos.batteryInfo.d.ts|
37|删除|模块名: ohos.batteryInfo<br>类名: CommonEventBatteryChangedCode<br>方法 or 属性:EXTRA_TECHNOLOGY|NA|@ohos.batteryInfo.d.ts|
38|访问级别有变化|类名:batteryInfo<br>方法 or 属性:const estimatedRemainingChargeTime: number;<br>访问级别:公开API|类名:batteryInfo<br>方法 or 属性:const estimatedRemainingChargeTime: number;<br>访问级别:系统API|@ohos.batteryInfo.d.ts|
39