目录

ArkWeb_JavaScriptValue*

typedef struct ArkWeb_JavaScriptValue* ArkWeb_JavaScriptValuePtr

Overview

ArkWeb_JavaScriptValue is a struct used to encapsulate JavaScript values in native code. It provides basic creation and manipulation capabilities for JavaScript values. This struct supports converting native data into a JavaScript-recognizable format, addressing type safety and format compatibility issues in bidirectional data transfer between native and JavaScript. As the fundamental data transfer type in JavaScript bridge communication, it helps reduce manual conversion costs, improve bridge communication efficiency, and enhance maintainability.

Since: 18

Related module: Web

Header file: arkweb_type.h