hidePrivacyContentForHost接口注释补充

Signed-off-by: rookiiie <quzhihao1@huawei.com>
This commit is contained in:
rookiiie 2024-10-23 12:59:30 +08:00
parent 05d4dcfa25
commit 077479aaa1

View File

@ -193,7 +193,8 @@ declare namespace uiExtensionHost {
/**
* Hide the display content when snapshot.
*
* @param { boolean } shouldHide - Hide the display content of UIExtensionAbility when the host application takes snapshots if true, otherwise means the opposite.
* @param { boolean } shouldHide - Hide the display content of UIExtensionAbility when the host application takes snapshots if true,
* otherwise means the opposite.
* @returns { Promise<void> } - The promise returned by the function.
* @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API.
* @throws { BusinessError } 401 - Parameter error. Possible causes:
@ -203,6 +204,7 @@ declare namespace uiExtensionHost {
* @throws { BusinessError } 1300002 - Abnormal state. Possible causes:
* <br> 1. The UIExtension window proxy is abnormal.
* <br> 2. Not the UIExtensionAbility process calling.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @systemapi
* @since 13
*/