From 50e8e1f4edae4ee3b763aabf01a406fdd10af84f Mon Sep 17 00:00:00 2001 From: wangdongqi Date: Tue, 6 Dec 2022 15:50:55 +0800 Subject: [PATCH] Signed-off-by: wangdongqi Changes to be committed: --- api/@ohos.screenLock.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/@ohos.screenLock.d.ts b/api/@ohos.screenLock.d.ts index 8c2b7606f0..30c3424620 100644 --- a/api/@ohos.screenLock.d.ts +++ b/api/@ohos.screenLock.d.ts @@ -72,6 +72,7 @@ declare namespace screenLock { * Unlock the screen. Returns true if the screen unlocked successfully. returns false otherwise. * @returns { Promise } the Promise returned by the function. * @throws {BusinessError} 401 - parameter error. + * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. * @since 9 */ function unlock(callback: AsyncCallback): void; @@ -81,6 +82,7 @@ declare namespace screenLock { * Lock the screen. Returns true if the screen locked successfully. returns false otherwise. * @returns { Promise } the Promise returned by the function. * @throws {BusinessError} 401 - parameter error. + * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. * @systemapi Hide this for inner system use. * @since 9 */ @@ -99,6 +101,7 @@ declare namespace screenLock { * @param { Callback } callback - the callback function for indicating the system event related screen lock * @returns { boolean } the boolean returned by the function. * @throws {BusinessError} 401 - parameter error. + * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. * @systemapi Hide this for inner system use. * @since 9 */ @@ -109,6 +112,7 @@ declare namespace screenLock { * @param { String } event - event type. * @param { number } parameter - operation result of the event. * @throws {BusinessError} 401 - parameter error. + * @throws {BusinessError} 13200002 - the screenlock management service is abnormal. * @systemapi Hide this for inner system use. * @since 9 */ -- Gitee