harmony 鸿蒙arkweb_interface.h

  • 2025-06-12
  • 浏览 (4)

arkweb_interface.h

Overview

Declares ArkWeb APIs for obtaining native APIs and the basic native API types.

Library: libohweb.so

File to include:

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, ARKWEB_NATIVE_JAVASCRIPT_VALUE
}
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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkWeb API Reference

harmony 鸿蒙ArkWeb_AnyNativeAPI

harmony 鸿蒙ArkWeb_ComponentAPI

harmony 鸿蒙ArkWeb_ControllerAPI

harmony 鸿蒙ArkWeb_CookieManagerAPI

harmony 鸿蒙ArkWeb_JavaScriptBridgeData

harmony 鸿蒙ArkWeb_JavaScriptObject

harmony 鸿蒙ArkWeb_JavaScriptValueAPI

harmony 鸿蒙ArkWeb_ProxyMethod

harmony 鸿蒙ArkWeb_ProxyMethodWithResult

0  赞