diff --git a/api/@ohos.web.webview.d.ts b/api/@ohos.web.webview.d.ts index b4bc09e924d8cdf53d0d13298bea22b8dae50df3..a338391038522163450e88abc6c38368992bbbb7 100644 --- a/api/@ohos.web.webview.d.ts +++ b/api/@ohos.web.webview.d.ts @@ -311,6 +311,34 @@ declare namespace webview { SECURE_ONLY = 2, } + /** + * xxx + * @enum {number} + * @syscap SystemCapability.Web.Webview.Core + * @since 20 + */ + enum ArkWebEngineVersion { + /** + * SYSTEM_DEFAULT + * @syscap SystemCapability.Web.Webview.Core + * @since 20 + */ + SYSTEM_DEFAULT = 0, + /** + * M114 + * @syscap SystemCapability.Web.Webview.Core + * @since 20 + */ + M114 = 1, + /** + * M132 + * @syscap SystemCapability.Web.Webview.Core + * @atomicservice + * @since 11 + */ + M132 = 2, + } + /** * Defines the security level for the page. * @@ -3721,6 +3749,42 @@ declare namespace webview { */ static initializeWebEngine(): void; + /** + * test the static api + * test the static api + * test the static api + * @syscap SystemCapability.Web.Webview.Core + * @since 9 + */ + /** + * test the static api + * test the static api + * test the static api + * @syscap SystemCapability.Web.Webview.Core + * @atomicservice + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 + */ + static lzq_initializeWebEngine(): void; + + /** + * setActiveWebEngineVersion + * @param {ArkWebEngineVersion} xxx - xxx + * @static + * @syscap SystemCapability.Web.Webview.Core + * @since 20 + */ + static setActiveWebEngineVersion(engineVersion: ArkWebEngineVersion): void; + + /** + * setActiveWebEngineVersion + * @returns {ArkWebEngineVersion} xxx + * @static + * @syscap SystemCapability.Web.Webview.Core + * @since 20 + */ + static getActiveWebEngineVersion(): ArkWebEngineVersion; + /** * Set web engine to use HttpDns server to resolve dns. * @param { SecureDnsMode } secureDnsMode - using HttpDns.