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
| Name | Description |
|---|---|
| ArkWeb_BlanklessErrorCode errCode | Error codes of blankless loading. For details, see ArkWeb_BlanklessErrorCode. |
| double similarity | First 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 loadingTime | Loading 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