pub unsafe extern "C" fn OH_ArkUI_NodeUtils_GetNodeHandleByUniqueId(
uniqueId: u32,
node: *mut ArkUI_NodeHandle,
) -> i32Available on crate features
api-12 and api-20 only.Expand description
Get the node handle by uniqueId.
§Arguments
-
uniqueId- The uniqueId of the target node handle. -
node- The handle of target node handle.
§Returns
- Error code.
[
ARKUI_ERROR_CODE_NO_ERROR] success. [ARKUI_ERROR_CODE_PARAM_INVALID] Function parameter exception. [ARKUI_ERROR_CODE_CAPI_INIT_ERROR] if the CAPI init error.
Available since API-level: 20