!14154 新增获取默认UA的静态接口

Merge pull request !14154 from zhaodan_123/zd_sdk-js
This commit is contained in:
openharmony_ci 2024-10-27 03:50:25 +00:00 committed by Gitee
commit 72f05acae5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4989,6 +4989,15 @@ declare namespace webview {
*/
static clearIntelligentTrackingPreventionBypassingList(): void;
/**
* Get the default user agent.
*
* @returns {string} The default user agent string.
* @syscap SystemCapability.Web.Webview.Core
* @since 14
*/
static getDefaultUserAgent(): string;
/**
* Register a callback to intercept web pages playing media.
*