Declares ArkWeb APIs for obtaining native APIs and the basic native API types.
Library: libohweb.so
File to include: <web/arkweb_interface.h>
System capability: SystemCapability.Web.Webview.Core
Since: 12
Related module: Web
| Name | Description |
|---|---|
| ARKWEB_NATIVE_COMPONENT, ARKWEB_NATIVE_CONTROLLER, ARKWEB_NATIVE_WEB_MESSAGE_PORT, ARKWEB_NATIVE_WEB_MESSAGE, } | Enumerates the native API types. |
| Name | Description |
|---|---|
| ArkWeb_AnyNativeAPI * OH_ArkWeb_GetNativeAPI (ArkWeb_NativeAPIVariantKind type) | Obtains the native API struct corresponding to the API type passed in. |