修正设备信息使用统计接口所需权限以及错误码描述

Signed-off-by: fengyang <fengyang44@huawei.com>
This commit is contained in:
fengyang 2024-08-07 09:59:53 +08:00
parent 4ae2d3c360
commit 4f1e8df479

View File

@ -471,6 +471,7 @@ declare namespace usageStatistics {
* <p> boolean value is true mean the application is idle in a particular period; false mean otherwise. * <p> boolean value is true mean the application is idle in a particular period; false mean otherwise.
* The time range of the particular period is defined by the system, which may be hours or days.</p> * The time range of the particular period is defined by the system, which may be hours or days.</p>
* @throws { BusinessError } 201 - Permission denied. * @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 202 - Not System App.
* @throws { BusinessError } 401 - Parameter error. Possible cause: 1. Mandatory parameters are left unspecified; * @throws { BusinessError } 401 - Parameter error. Possible cause: 1. Mandatory parameters are left unspecified;
* <br> 2. Incorrect parameters types; 3. Parameter verification failed. * <br> 2. Incorrect parameters types; 3. Parameter verification failed.
* @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 801 - Capability not supported.