未验证 提交 89f15996 编写于 作者: O openharmony_ci 提交者: Gitee

!14088 翻译完成:13589 补充merge内容

Merge pull request !14088 from wusongqing/TR13589
# @ohos.deviceUsageStatistics (Device Usage Statistics)
# @ohos.bundleState (Device Usage Statistics)
This module provides APIs for collecting statistics on device usage.
......@@ -454,6 +454,20 @@ Provides the usage duration information of an application.
| infosBeginTime | number | No | Time logged in the first application usage record in the **BundleActiveInfo** object.|
| infosEndTime | number | No | Time logged in the last application usage record in the **BundleActiveInfo** object.|
### merge<sup>(deprecated)</sup>
merge(toMerge: BundleStateInfo): void
Merges the device usage statistics of applications with the same bundle name.
**System capability**: SystemCapability.ResourceSchedule.UsageStatistics.App
**Parameters**
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| toMerge | [BundleStateInfo](#bundlestateinfo) | Yes| Device usage statistics to merge.|
## BundleActiveState
Provides information about an application event.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册