openharmony 鸿蒙 capi-web

2026-08-25 浏览 (1)

Web

Overview

This module provides error codes for the exceptions of ArkWeb NDK APIs,

APIs for injecting objects and executing JavaScript code,

APIs for intercepting ArkWeb requests,

and error codes for the ArkWeb network protocol stack.

In addition, ArkWeb capabilities on the native side are also provided, such as refreshing web pages, executing JavaScript code, and registering callbacks.

For details, see Mutual Invoking Between the Application and the Frontend Page (C/C++), Establishing a Data Channel Between the Application and the Frontend Page (C/C++) and Intercepting Network Requests Initiated by the Web Component.

Since: 12

Files

NameDescription
arkweb_error_code.hDeclares the error codes of the ArkWeb NDK APIs.
arkweb_interface.hProvides the ArkWeb APIs for obtaining native APIs and the basic native API types.
arkweb_net_error_list.hDeclares the error codes of the ArkWeb network protocol stack.
arkweb_scheme_handler.hDeclares the APIs used to intercept requests from ArkWeb.
arkweb_type.hDefines the native common types of ArkWeb.
native_interface_arkweb.hDeclares APIs used to inject objects and execute JavaScript code.

你可能感兴趣的鸿蒙文章

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/OGyZiN7d