/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-sendable-napi.md | 5 通过`napi_wrap_sendable`将Sendable ArkTS对象与Native的C++对象绑定,后续操作时再通过`napi_unwrap_sendable`将ArkTS对象绑定的C++… 182 // 通过napi_unwrap_sendable将jsThis之前绑定的C++对象取出,并对其进行操作 183 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj)); 200 // 通过napi_unwrap_sendable将jsThis之前绑定的C++对象取出,并对其进行操作 201 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj)); 214 // 通过napi_unwrap_sendable将jsThis之前绑定的C++对象取出,并对其进行操作 215 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj));
|
H A D | napi-data-types-interfaces.md | 521 | napi_unwrap_sendable | 获取ArkTS对象包裹的native实例。| 703 #### napi_unwrap_sendable subsubsection 706 napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result);
|
H A D | use-napi-about-extension.md | 757 | napi_unwrap_sendable | 获取ArkTS对象包裹的native实例。| 1163 #### napi_unwrap_sendable subsubsection 1185 napi_unwrap_sendable(env, obj, (void**)&tmpTestStr);
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-sendable-napi.md | 5 …able** to wrap a C++ object in a sendable ArkTS object, and use **napi_unwrap_sendable** to retrie… 182 …// Use napi_unwrap_sendable to retrieve obj (the C++ object) previously wrapped in jsThis (the sen… 183 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj)); 200 …// Use napi_unwrap_sendable to retrieve obj (the C++ object) previously wrapped in jsThis (the sen… 201 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj)); 214 …// Use napi_unwrap_sendable to retrieve obj (the C++ object) previously wrapped in jsThis (the sen… 215 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj));
|
H A D | use-napi-about-extension.md | 745 | napi_unwrap_sendable | Unwraps the native instance from an ArkTS object.| 1125 #### napi_unwrap_sendable subsubsection 1127 Use **napi_unwrap_sendable** to unwrap the native instance from an ArkTS object. 1147 napi_unwrap_sendable(env, obj, (void**)&tmpTestStr);
|
H A D | napi-data-types-interfaces.md | 510 | napi_unwrap_sendable | Unwraps the native instance from an ArkTS object.| 692 #### napi_unwrap_sendable subsubsection 695 napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_fetch_file_result_napi.cpp | 343 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetCount() 445 … status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetFirstObject() 493 … status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetNextObject() 660 … status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetAllObject() 709 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSClose() 892 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSIsAfterLast() 935 … status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetLastObject() 987 … status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetPositionObject()
|
H A D | sendable_file_asset_napi.cpp | 241 …CHECK_ARGS(env, napi_unwrap_sendable(env, result, reinterpret_cast<void**>(&SendableFileAssetNapi)… in CreatePhotoAsset() 337 …CHECK_STATUS_RET(napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(obj)), "Failed to un… in GetNapiObject() 368 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetFilePath() 392 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetFileDisplayName() 418 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSSetFileDisplayName() 452 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetMediaType() 1395 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in ConvertToPhotoAsset()
|
H A D | sendable_photo_album_napi.cpp | 122 …CHECK_ARGS(env, napi_unwrap_sendable(env, result, reinterpret_cast<void**>(&photoAlbumNapi)), JS_I… in CreatePhotoAlbumNapi() 268 …CHECK_ARGS(env, napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(obj)), JS_INNER_FAIL); in UnwrapPhotoAlbumObject() 382 …CHECK_ARGS(env, napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(obj)), JS_INNER_FAIL); in GetStringArg() 684 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in ConvertToPhotoAlbum()
|
H A D | sendable_medialibrary_napi_utils.cpp | 444 …CHECK_STATUS_RET(napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objec… in AsyncContextSetObjectInfo()
|
H A D | sendable_photo_access_helper_napi.cpp | 662 … status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSRelease()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/sendable_context_manager/ |
H A D | js_sendable_context_manager.cpp | 362 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToContext() 391 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToApplicationContext() 420 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToAbilityStageContext() 449 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToUIAbilityContext()
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 712 |FUNC|napi_unwrap_sendable | 获取ArkTS对象包裹的native实例。|12| 1364 ### napi_unwrap_sendable subsection 1367 napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result)
|
/ohos5.0/foundation/arkui/napi/interfaces/kits/napi/ |
H A D | native_api.h | 182 NAPI_EXTERN napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_napi.cpp | 111 napi_status status = napi_unwrap_sendable(env, image, reinterpret_cast<void**>(&napi)); in GetNativeImage() 280 …if (napi_unwrap_sendable(env, thisVar, reinterpret_cast<void**>(&ctx->napi)) != napi_ok || ctx->na… in UnwrapContext()
|
H A D | sendable_pixel_map_napi.cpp | 453 status = napi_unwrap_sendable(env, object, result); in NapiUnwrap()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor/ |
H A D | js_color_space_utils.h | 213 return napi_unwrap_sendable(env, resObject, (void **)(&pointerValue)) == napi_ok ?
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/ |
H A D | async_lock_manager.cpp | 244 NAPI_CALL(env, napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&id))); in LockAsync()
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_sendable_napi.cpp | 710 res = napi_unwrap_sendable(env, instanceValue, (void**)&tmpTestStr); 743 napi_unwrap_sendable(env, instanceValue, (void**)&tempTestStr); 1856 napi_unwrap_sendable(env, thisVar, reinterpret_cast<void**>(&data)); in Func()
|
H A D | test_napi.cpp | 6963 napi_status status = napi_unwrap_sendable(env, js_obj, &result); 6974 status = napi_unwrap_sendable(env, js_obj, result);
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/ |
H A D | napi_preferences.cpp | 167 napi_unwrap_sendable(env, self, &boundObj); in GetSelfInstance()
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 710 |FUNC|napi_unwrap_sendable | Unwraps the native instance from an ArkTS object.|12| 1362 ### napi_unwrap_sendable subsection 1365 napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result)
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 2041 NAPI_EXTERN napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result) in napi_unwrap_sendable() function
|