mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!14356 hidePrivacyContentForHost接口注释补充
Merge pull request !14356 from rookiiie/master
This commit is contained in:
commit
142dd2d50a
4
api/@ohos.uiExtensionHost.d.ts
vendored
4
api/@ohos.uiExtensionHost.d.ts
vendored
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user