From 374fb3353b47d6757efc4022ffef923460aa9d98 Mon Sep 17 00:00:00 2001 From: wangyaohui Date: Thu, 19 Jun 2025 00:03:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangyaohui --- api/@ohos.PiPWindow.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/@ohos.PiPWindow.d.ts b/api/@ohos.PiPWindow.d.ts index 206fc082fe..48eab69116 100644 --- a/api/@ohos.PiPWindow.d.ts +++ b/api/@ohos.PiPWindow.d.ts @@ -93,7 +93,7 @@ declare namespace PiPWindow { * @param { PiPConfiguration } config - Params for picture-in-picture controller creation. The config must be valid, * the context and componentController in config should not be null. If templateType is specified, make sure * it's type of PiPTemplateType. If controlGroups is specified, make sure it correspond to the templateType. - * @param { typeNode.XComponent } contentNode - Params for picture-in-picture controller creation. + * @param { typeNode.XComponent } contentNode - Params for picture-in-picture controller creation. * Indicates the node which display the content of pip window. * @returns { Promise } - The promise returned by the function * @throws { BusinessError } 401 - Params error. Possible causes: 1. Mandatory parameters are left unspecified. @@ -1059,7 +1059,7 @@ declare namespace PiPWindow { * @since 18 */ updateContentNode(contentNode: typeNode.XComponent): Promise; - + /** * Set Dashboard control enable status. * @param { PiPControlType } controlType - Describe picture-in-picture control type. @@ -1197,7 +1197,6 @@ declare namespace PiPWindow { * 2. Incorrect parameter types. * 3. Parameter verification failed. * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. - * @throws { BusinessError } 1300014 - PiP internal error. * @syscap SystemCapability.Window.SessionManager * @atomicservice * @since 15 -- Gitee