!11476 修改非必选参数注释

Merge pull request !11476 from yu/401fix0523
This commit is contained in:
openharmony_ci 2024-05-25 02:06:29 +00:00 committed by Gitee
commit 0c74291559
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -299,7 +299,7 @@ declare namespace privacyManager {
* @param { number } tokenId - Token ID of the application. By default, all token IDs of the device are returned.
* @param { Permissions } permissionName - Name of the permission to query. By default, all permissions of the device are returned.
* @returns { Promise<Array<PermissionUsedTypeInfo>> } Promise used to return the information obtained.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified; 2.Incorrect parameter types.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Incorrect parameter types.
* @throws { BusinessError } 201 - Permission denied. Interface caller does not have permission "ohos.permission.PERMISSION_USED_STATS".
* @throws { BusinessError } 202 - Not system app. Interface caller is not a system app.
* @throws { BusinessError } 12100001 - Invalid Parameter. PermissionName exceeds 256 characters.