Home
last modified time | relevance | path

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

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-sendable-napi.md5 通过`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 Dnapi-data-types-interfaces.md521 | 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 Duse-napi-about-extension.md757 | 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 Duse-sendable-napi.md5 …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 Duse-napi-about-extension.md745 | 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 Dnapi-data-types-interfaces.md510 | 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 Dsendable_fetch_file_result_napi.cpp343 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 Dsendable_file_asset_napi.cpp241 …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 Dsendable_photo_album_napi.cpp122 …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 Dsendable_medialibrary_napi_utils.cpp444 …CHECK_STATUS_RET(napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objec… in AsyncContextSetObjectInfo()
H A Dsendable_photo_access_helper_napi.cpp662 … 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 Djs_sendable_context_manager.cpp362 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 Dnapi.md712 |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 Dnative_api.h182 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 Dsendable_image_napi.cpp111 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 Dsendable_pixel_map_napi.cpp453 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 Djs_color_space_utils.h213 return napi_unwrap_sendable(env, resObject, (void **)(&pointerValue)) == napi_ok ?
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dasync_lock_manager.cpp244 NAPI_CALL(env, napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&id))); in LockAsync()
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_sendable_napi.cpp710 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 Dtest_napi.cpp6963 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 Dnapi_preferences.cpp167 napi_unwrap_sendable(env, self, &boundObj); in GetSelfInstance()
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dnapi.md710 |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 Dnative_api.cpp2041 NAPI_EXTERN napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result) in napi_unwrap_sendable() function