!14356 hidePrivacyContentForHost接口注释补充

Merge pull request !14356 from rookiiie/master
This commit is contained in:
openharmony_ci 2024-10-23 12:31:20 +00:00 committed by Gitee
commit 142dd2d50a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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
*/