| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Added | NA | Class name: BatteryCapacityLevel Method or attribute name: LEVEL_WARNING | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: BatteryCapacityLevel Method or attribute name: LEVEL_SHUTDOWN | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_SOC = "soc" | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_SOC = "soc" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo 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_CHARGE_STATE = "chargeState" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo 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_HEALTH_STATE = "healthState" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo 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_PLUGGED_TYPE = "pluggedType" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_VOLTAGE = "voltage" | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_VOLTAGE = "voltage" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_TECHNOLOGY = "technology" | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_TECHNOLOGY = "technology" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_TEMPERATURE = "temperature" | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_TEMPERATURE = "temperature" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_PRESENT = "present" | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_PRESENT = "present" | @ohos.batteryInfo.d.ts |
| Added | NA | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_CAPACITY_LEVEL = "capacityLevel" | @ohos.batteryInfo.d.ts |
| Added | NA | Class name: CommonEventBatteryChangedKey Method or attribute name: EXTRA_CAPACITY_LEVEL = "capacityLevel" | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: BatteryCapacityLevel Method or attribute name: LEVEL_NONE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_SOC = 0 | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_VOLTAGE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_TEMPERATURE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_HEALTH_STATE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_PLUGGED_TYPE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_MAX_CURRENT | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_MAX_VOLTAGE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_CHARGE_STATE | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_CHARGE_COUNTER | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_PRESENT | NA | @ohos.batteryInfo.d.ts |
| Deleted | Module name: ohos.batteryInfo Class name: CommonEventBatteryChangedCode Method or attribute name: EXTRA_TECHNOLOGY | NA | @ohos.batteryInfo.d.ts |
| Access level changed | Class name: batteryInfo Method or attribute name: const estimatedRemainingChargeTime: number; Access level: public API | Class name: batteryInfo Method or attribute name: const estimatedRemainingChargeTime: number; Access level: system API | @ohos.batteryInfo.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication