3b2ce49e创建于 2025年11月13日历史提交

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

Name Description
arkweb_error_code.h Declares the error codes of the ArkWeb NDK APIs.
arkweb_interface.h Provides the ArkWeb APIs for obtaining native APIs and the basic native API types.
arkweb_net_error_list.h Declares the error codes of the ArkWeb network protocol stack.
arkweb_scheme_handler.h Declares the APIs used to intercept requests from ArkWeb.
arkweb_type.h Defines the native common types of ArkWeb.
native_interface_arkweb.h Declares APIs used to inject objects and execute JavaScript code.