harmony 鸿蒙JSVM_CallbackStruct

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

JSVM_CallbackStruct

Overview

Pointer to and data of the native callbacks provided by the user. These functions are exposed to JavaScript via JSVM-API.

Since: 11

Related module: JSVM

Summary

Public Member Functions

Name Description
JSVM_Value (JSVM_CDECL *callback)(JSVM_Env env

Member Variables

Name Description
JSVM_CallbackInfoinfo
void * data Data of the native callbacks provided by the user.

Member Function Description

JSVM_Value()

JSVM_CallbackStruct::JSVM_Value (JSVM_CDECL * callback)

Description Pointer to the native callbacks provided by the user.

Member Variable Description

data

void* JSVM_CallbackStruct::data

Description Data of the native callbacks provided by the user.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Common Capabilities

harmony 鸿蒙_j_s_v_m

harmony 鸿蒙JSVM_CreateVMOptions

harmony 鸿蒙JSVM_ExtendedErrorInfo

harmony 鸿蒙JSVM_HeapStatistics

harmony 鸿蒙JSVM_InitOptions

harmony 鸿蒙JSVM_PropertyDescriptor

harmony 鸿蒙JSVM_PropertyHandlerConfigurationStruct

harmony 鸿蒙JSVM_ScriptOrigin

harmony 鸿蒙JSVM_TypeTag

0  赞