/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-napi-load-module-with-info.md | 8 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 D | use-napi-ark-runtime.md | 84 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 D | use-napi-load-module.md | 30 建议使用[napi_load_module_with_info](use-napi-load-module-with-info.md)来进行模块加载,该接口支持了更多的场景。
|
H A D | use-napi-event-loop.md | 43 …ret = napi_load_module_with_info(env, "ets/pages/ObjectUtils", "com.example.myapplication/entry", …
|
H A D | napi-data-types-interfaces.md | 500 | napi_load_module_with_info | 将abc文件作为模块加载,返回模块的命名空间, 可在新创建的ArkTS基础运行时环境中使用。 |
|
H A D | use-napi-about-extension.md | 16 | 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 D | use-napi-load-module-with-info.md | 8 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 D | use-napi-ark-runtime.md | 88 …ret = napi_load_module_with_info(env, "entry/src/main/ets/pages/ObjectUtils", "com.example.myappli…
|
H A D | use-napi-load-module.md | 30 You are advised to use [napi_load_module_with_info](use-napi-load-module-with-info.md) to load modu…
|
H A D | use-napi-event-loop.md | 44 …ret = napi_load_module_with_info(env, "ets/pages/ObjectUtils", "com.example.myapplication/entry", …
|
H A D | use-napi-about-extension.md | 16 …napi_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 D | napi-data-types-interfaces.md | 489 | 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 D | load-module-base-nodeapi.md | 3 …napi_load_module_with_info](../napi/use-napi-load-module-with-info.md) can be used to load multipl…
|
H A D | native-interthread-shared.md | 43 …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 D | arkts-sendable-module.md | 47 - 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 D | load-module-base-nodeapi.md | 3 …-load-module.md)接口的功能是在宿主线程中进行当前hap/hsp包工程内模块的加载,用法场景局限,但传参简单。[napi_load_module_with_info](../napi…
|
H A D | native-interthread-shared.md | 43 …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 D | arkts-sendable-module.md | 47 - napi_load_module、napi_load_module_with_info以及动态加载不支持加载共享模块。
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 698 |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 D | native_api.h | 83 NAPI_EXTERN napi_status napi_load_module_with_info(napi_env env,
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 696 |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 D | test_napi.cpp | 4218 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 D | native_api.cpp | 2987 NAPI_EXTERN napi_status napi_load_module_with_info(napi_env env, in napi_load_module_with_info() function
|