pub unsafe extern "C" fn napi_get_strong_reference_value(
env: napi_env,
ref_: napi_strong_ref,
result: *mut napi_value,
) -> napi_statusAvailable on crate features
napi and api-21 only.Expand description
Obtains the ArkTS Object associated with the strong reference.
§Arguments
-
env- Current running virtual machine context. -
ref- The napi_strong_ref of the value being requested. -
result- The napi_value referenced by the napi_strong_ref.
§Returns
- Returns the function execution status.
[
napi_ok] If the function executed successfully.
[napi_invalid_arg] If env, ref or result is nullptr.
Available since API-level: 21