openharmony 鸿蒙 capi-web-arkweb-blanklessinfo

2026-08-25 浏览 (1)

ArkWeb_BlanklessInfo

typedef struct {...} ArkWeb_BlanklessInfo

Overview

Describes prediction information about blankless loading, including the first screen similarity, first screen loading duration, and error codes. The application determines whether to enable the blankless loading solution based on the prediction information.

Since: 20

Related module: Web

Header file: native_interface_arkweb.h

Summary

Member Variables

NameDescription
ArkWeb_BlanklessErrorCode errCodeError codes of blankless loading. For details, see ArkWeb_BlanklessErrorCode.
double similarityFirst screen similarity, which is calculated based on the historical first screen content. The value ranges from 0 to 1.0. 1.0 indicates that the content is the same. A value closer to 1 indicates a higher similarity. This value is lagging, and the similarity of the local loading is displayed in the next loading. You are advised not to enable the blankless loading frame insertion solution when the similarity is low.
int32_t loadingTimeLoading duration estimated based on the historical first screen loading durations, in milliseconds. The value must be greater than 0.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 arkts-apis-webview-WebviewController

openharmony 鸿蒙 arkts-apis-webview-t

openharmony 鸿蒙 arkts-apis-webview

openharmony 鸿蒙 capi-arkweb-type-h

openharmony 鸿蒙 arkts-basic-components-web-FullScreenExitHandler

openharmony 鸿蒙 arkts-apis-webview-WebDownloadManager

openharmony 鸿蒙 arkts-basic-components-web-VerifyPinHandler

openharmony 鸿蒙 capi-web-arkweb-webmessage8h

openharmony 鸿蒙 arkts-apis-webview-NativeMediaPlayerHandler

openharmony 鸿蒙 capi-web-arkweb-proxymethodwithresult

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/HNK9Hete