Fix: 完善接口描述关键信息

Signed-off-by: huangjieliang <huangjieliang@huawei.com>
Change-Id: I8b588dbffe74f0ae1af9fa6a378814cb03bb22ab
This commit is contained in:
huangjieliang 2024-05-15 11:27:29 +08:00
parent 936ec57afc
commit b839250f13

View File

@ -122,7 +122,7 @@ declare namespace screenLockFileManager {
* @returns { AccessStatus } Returns acquire the access result.
* @throws { BusinessError } 201 - Permission verification failed, usually returned by VerifyAccessToken.
* @throws { BusinessError } 202 - Permission verification failed, application which is not a system application uses system API.
* @throws { BusinessError } 401 - Parameter error.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameter is left unspecified. 2. Incorrect parameter types.
* @throws { BusinessError } 801 - The specified SystemCapability name was not found.
* @throws { BusinessError } 29300001 - Invalid parameter.
* @throws { BusinessError } 29300002 - The system ability work abnormally.
@ -155,7 +155,7 @@ declare namespace screenLockFileManager {
* @returns { ReleaseStatus } Returns release the access result.
* @throws { BusinessError } 201 - Permission verification failed, usually returned by VerifyAccessToken.
* @throws { BusinessError } 202 - Permission verification failed, application which is not a system application uses system API.
* @throws { BusinessError } 401 - Parameter error.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameter is left unspecified. 2. Incorrect parameter types.
* @throws { BusinessError } 801 - The specified SystemCapability name was not found.
* @throws { BusinessError } 29300001 - Invalid parameter.
* @throws { BusinessError } 29300002 - The system ability work abnormally.