645d7a64创建于 2025年1月19日历史提交

arkweb_interface.h

Overview

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

Summary

Structs

Name Description
struct  ArkWeb_AnyNativeAPI Defines the basic native API types.

Enums

Name Description
ArkWeb_NativeAPIVariantKind {
ARKWEB_NATIVE_COMPONENT, ARKWEB_NATIVE_CONTROLLER, ARKWEB_NATIVE_WEB_MESSAGE_PORT, ARKWEB_NATIVE_WEB_MESSAGE,
ARKWEB_NATIVE_COOKIE_MANAGER
}
Enumerates the native API types.

Functions

Name Description
ArkWeb_AnyNativeAPI * OH_ArkWeb_GetNativeAPI (ArkWeb_NativeAPIVariantKind type) Obtains the native API struct corresponding to the API type passed in.