Home
last modified time | relevance | path

Searched refs:napi_load_module_with_info (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-napi-load-module-with-info.md8 napi_status napi_load_module_with_info(napi_env env,
27 ## napi_load_module_with_info支持的场景
84 // 1. 使用napi_load_module_with_info加载Test文件中的模块
147 // 1. 使用napi_load_module_with_info加载library
194 3. 用napi_load_module_with_info加载@ohos/hypium,获取DEFAULT变量。
199 // 1. 使用napi_load_module_with_info加载@ohos/hypium
240 3. 用napi_load_module_with_info加载json5,调用函数stringify。
245 // 1. 使用napi_load_module_with_info加载json5
274 // 1. 使用napi_load_module_with_info加载模块@ohos.hilog
335 3. 用napi_load_module_with_info加载libentry.so,调用函数add。
[all …]
H A Duse-napi-ark-runtime.md84 2. 新建线程并创建ArkTS基础运行时环境,加载自定义模块请参考[napi_load_module_with_info](./use-napi-load-module-with-info.md)。
102 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/ObjectUtils", "com.example.myappli…
H A Duse-napi-load-module.md30 建议使用[napi_load_module_with_info](use-napi-load-module-with-info.md)来进行模块加载,该接口支持了更多的场景。
H A Duse-napi-event-loop.md43 …ret = napi_load_module_with_info(env, "ets/pages/ObjectUtils", "com.example.myapplication/entry", …
H A Dnapi-data-types-interfaces.md500 | napi_load_module_with_info | 将abc文件作为模块加载,返回模块的命名空间, 可在新创建的ArkTS基础运行时环境中使用。 |
H A Duse-napi-about-extension.md16 | napi_load_module_with_info | 用于在Node-API中进行模块的加载,当模块加载出来之后,可以使用函数napi_get_property获取模块导出的变量,也可以使用…
25 #### napi_load_module_with_info subsubsection
/ohos5.0/docs/en/application-dev/napi/
H A Duse-napi-load-module-with-info.md8 napi_status napi_load_module_with_info(napi_env env,
84 // 1. Call napi_load_module_with_info to load the module from the Test.ets file.
147 // 1. Call napi_load_module_with_info to load library.
194 3. Call **napi_load_module_with_info** to load **@ohos/hypium** and obtain the **DEFAULT** variable.
199 // 1. Call napi_load_module_with_info to load @ohos/hypium.
240 3. Call **napi_load_module_with_info** to load **json5** and call the **stringify** function.
245 // 1. Call napi_load_module_with_info to load json5.
274 // 1. Call napi_load_module_with_info to load the @ohos.hilog module.
276 napi_status status = napi_load_module_with_info(env, "@ohos.hilog", nullptr, &result);
335 3. Call **napi_load_module_with_info** to load **libentry.so** and call the **add** function.
[all …]
H A Duse-napi-ark-runtime.md88 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/ObjectUtils", "com.example.myappli…
H A Duse-napi-load-module.md30 You are advised to use [napi_load_module_with_info](use-napi-load-module-with-info.md) to load modu…
H A Duse-napi-event-loop.md44 …ret = napi_load_module_with_info(env, "ets/pages/ObjectUtils", "com.example.myapplication/entry", …
H A Duse-napi-about-extension.md16napi_load_module_with_info | Loads a module. After the module is loaded, you can use **napi_get_pr…
25 #### napi_load_module_with_info subsubsection
27 Use **napi_load_module_with_info** to [load a module](use-napi-load-module-with-info.md).
H A Dnapi-data-types-interfaces.md489 | napi_load_module_with_info | Loads an .abc file as a module. This API returns the namespace of th…
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dload-module-base-nodeapi.md3napi_load_module_with_info](../napi/use-napi-load-module-with-info.md) can be used to load multipl…
H A Dnative-interthread-shared.md43 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/SendableObjTest", "com.example.mya…
113 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/SendableObjTest", "com.example.mya…
H A Darkts-sendable-module.md47 - napi_load_module, napi_load_module_with_info, and dynamic loading do not support the loading of s…
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/
H A Dload-module-base-nodeapi.md3 …-load-module.md)接口的功能是在宿主线程中进行当前hap/hsp包工程内模块的加载,用法场景局限,但传参简单。[napi_load_module_with_info](../napi…
H A Dnative-interthread-shared.md43 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/SendableObjTest", "com.example.mya…
113 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/SendableObjTest", "com.example.mya…
H A Darkts-sendable-module.md47 - napi_load_module、napi_load_module_with_info以及动态加载不支持加载共享模块。
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dnapi.md698 |FUNC|napi_load_module_with_info|将abc文件作为模块加载,返回模块的命名空间。可在新创建的ArkTS基础运行时环境中使用。|12|
982 ### napi_load_module_with_info subsection
985 napi_status napi_load_module_with_info(napi_env env,
/ohos5.0/foundation/arkui/napi/interfaces/kits/napi/
H A Dnative_api.h83 NAPI_EXTERN napi_status napi_load_module_with_info(napi_env env,
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dnapi.md696 |FUNC|napi_load_module_with_info|Loads an .abc file as a module. This API returns the namespace of …
980 ### napi_load_module_with_info subsection
983 napi_status napi_load_module_with_info(napi_env env,
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi.cpp4218 napi_status res = napi_load_module_with_info(nullptr, nullptr, nullptr, &result);
4231 napi_status res = napi_load_module_with_info(env, "@ohos.hilog", nullptr, nullptr);
9724 auto res = napi_load_module_with_info(nullptr, nullptr, nullptr, nullptr);
9738 auto res = napi_load_module_with_info(env, nullptr, nullptr, nullptr);
9753 auto res = napi_load_module_with_info(env, nullptr, nullptr, &result);
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp2987 NAPI_EXTERN napi_status napi_load_module_with_info(napi_env env, in napi_load_module_with_info() function