harmony 鸿蒙arkweb_interface.h

2025-06-12 浏览 (1)

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

NameDescription
struct  ArkWeb_AnyNativeAPIDefines the basic native API types.

Enums

NameDescription
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

NameDescription
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

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/kaTM0r