From 8787ad214131671bb3496c90bdfb957b16244720 Mon Sep 17 00:00:00 2001 From: chenguanhao Date: Thu, 4 Sep 2025 16:34:05 +0800 Subject: [PATCH] add 1.2 interfaces Signed-off-by: chenguanhao --- api/@ohos.web.webview.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/@ohos.web.webview.d.ts b/api/@ohos.web.webview.d.ts index 671e6b93a5..5d10a0d52b 100644 --- a/api/@ohos.web.webview.d.ts +++ b/api/@ohos.web.webview.d.ts @@ -6912,11 +6912,13 @@ declare namespace webview { /** * Gets the loading progress for the current page. * - * @returns { number } The loading progress for the current page. + * @returns { int } The loading progress for the current page. + * @throws { BusinessError } 801 - Capability not supported. * @syscap SystemCapability.Web.Webview.Core * @since 20 + * @arkts 1.1&1.2 */ - getProgress() : number; + getProgress() : int; /** * Sets the bottom avoidance height of the web visible viewport. -- Gitee