提交 33110e63 编写于 作者: G Gloria

Update docs against 18466

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 485c3482
...@@ -137,7 +137,7 @@ Queries the group of this application. This API uses a promise to return the res ...@@ -137,7 +137,7 @@ Queries the group of this application. This API uses a promise to return the res
**Return value** **Return value**
| Type | Description | | Type | Description |
| --------------- | --------------------------- | | --------------- | --------------------------- |
| Promise&lt;number&gt; | Promise used to return the group.| | Promise&lt;number&gt; | Promise used to return the group.|
...@@ -559,6 +559,7 @@ Queries events of this application based on the specified start time and end tim ...@@ -559,6 +559,7 @@ Queries events of this application based on the specified start time and end tim
**System API**: This is a system API. **System API**: This is a system API.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
| -------- | ---------------------------------------- | ---- | --------------------------------------- | | -------- | ---------------------------------------- | ---- | --------------------------------------- |
| begin | number | Yes | Start time, in milliseconds. | | begin | number | Yes | Start time, in milliseconds. |
...@@ -609,6 +610,7 @@ Queries events of this application based on the specified start time and end tim ...@@ -609,6 +610,7 @@ Queries events of this application based on the specified start time and end tim
**System API**: This is a system API. **System API**: This is a system API.
**Parameters** **Parameters**
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
| ----- | ------ | ---- | ----- | | ----- | ------ | ---- | ----- |
| begin | number | Yes | Start time, in milliseconds.| | begin | number | Yes | Start time, in milliseconds.|
...@@ -1549,7 +1551,7 @@ Provides the usage duration information of an application. ...@@ -1549,7 +1551,7 @@ Provides the usage duration information of an application.
| ------------------------ | ------ | ---- | ---------------------------------------- | | ------------------------ | ------ | ---- | ---------------------------------------- |
| bundleName | string | No | Bundle name of the application. | | bundleName | string | No | Bundle name of the application. |
| abilityPrevAccessTime | number | No | Last time when the application was used. | | abilityPrevAccessTime | number | No | Last time when the application was used. |
| abilityInFgTotalTime | number | No | Total time that the application runs in the foreground. | | abilityInFgTotalTime | number | No | Total time that the application runs in the foreground. |
| id | number | Yes | User ID.| | id | number | Yes | User ID.|
| abilityPrevSeenTime | number | No | Last time when the application was visible in the foreground.| | abilityPrevSeenTime | number | No | Last time when the application was visible in the foreground.|
| abilitySeenTotalTime | number | No | Total time that the application is visible in the foreground.| | abilitySeenTotalTime | number | No | Total time that the application is visible in the foreground.|
...@@ -1568,9 +1570,9 @@ Provides information about an application event. ...@@ -1568,9 +1570,9 @@ Provides information about an application event.
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
| --------------------- | ------ | ---- | ---------------------------------------- | | --------------------- | ------ | ---- | ---------------------------------------- |
| bundleName | string | Yes | Bundle name of the application. | | bundleName | string | No | Bundle name of the application. |
| eventId | number | Yes | Application event type. | | eventId | number | No | Application event type. |
| eventOccurredTime | number | Yes | Timestamp when the application event occurs. | | eventOccurredTime | number | No | Timestamp when the application event occurs. |
| appGroup | number | No | Usage priority group of the application.| | appGroup | number | No | Usage priority group of the application.|
| indexOfLink | string | No | Shortcut ID.| | indexOfLink | string | No | Shortcut ID.|
| nameOfClass | string | No | Class name.| | nameOfClass | string | No | Class name.|
...@@ -1585,7 +1587,7 @@ Provides the usage duration information of an application. ...@@ -1585,7 +1587,7 @@ Provides the usage duration information of an application.
| Name | Type | Mandatory | Description | | Name | Type | Mandatory | Description |
| ------------------------------ | ---------------------------------------- | ---- | -------------- | | ------------------------------ | ---------------------------------------- | ---- | -------------- |
| [key: string]: BundleStatsInfo | [key: string]: [BundleStatsInfo](#bundlestatsinfo) | Yes | Usage duration information by application.| | [key: string] | [BundleStatsInfo](#bundlestatsinfo) | Yes | Usage duration information by application.|
## DeviceEventStats ## DeviceEventStats
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册