From 31241b6b9cac5a4f79417a292a5090cd4404516c Mon Sep 17 00:00:00 2001 From: llq0712 Date: Thu, 28 Aug 2025 11:14:10 +0800 Subject: [PATCH] video api add errcode Signed-off-by: llq0712 --- api/@internal/component/ets/video.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/@internal/component/ets/video.d.ts b/api/@internal/component/ets/video.d.ts index 29a25dc167..442f024127 100644 --- a/api/@internal/component/ets/video.d.ts +++ b/api/@internal/component/ets/video.d.ts @@ -1513,6 +1513,8 @@ declare class VideoAttribute extends CommonMethod { * * @param { VoidCallback | import('../api/@ohos.base').ErrorCallback } event * @returns { VideoAttribute } + * @throws { BusinessError } 103601 - Failed to create the media player. + * @throws { BusinessError } 103602 - Not a valid source. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -- Gitee