harmony 鸿蒙ArkWeb_JavaScriptBridgeData

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

ArkWeb_JavaScriptBridgeData

Overview

Defines the JavaScript Bridge data.

Since: 12

Related module: Web

Summary

Member Variables

Name Description
const uint8_t * buffer Pointer to the data to be transferred. Only the String and ArrayBuffer types can be transferred from the frontend. Other types will be serialized by JSON and then transferred as the String type.
size_t size Length of the data to be transferred.

Member Variable Description

buffer

const uint8_t* ArkWeb_JavaScriptBridgeData::buffer

Description

Pointer to the data to be transferred. Only the String and ArrayBuffer types can be transferred from the frontend. Other types will be serialized by JSON and then transferred as the String type.

size

size_t ArkWeb_JavaScriptBridgeData::size

Description

Length of the data to be transferred.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkWeb API Reference

harmony 鸿蒙ArkWeb_AnyNativeAPI

harmony 鸿蒙ArkWeb_ComponentAPI

harmony 鸿蒙ArkWeb_ControllerAPI

harmony 鸿蒙ArkWeb_CookieManagerAPI

harmony 鸿蒙ArkWeb_JavaScriptObject

harmony 鸿蒙ArkWeb_JavaScriptValueAPI

harmony 鸿蒙ArkWeb_ProxyMethod

harmony 鸿蒙ArkWeb_ProxyMethodWithResult

harmony 鸿蒙ArkWeb_ProxyObject

0  赞