OH_ArkUI_NodeUtils_GetAttachedNodeHandleById

Function OH_ArkUI_NodeUtils_GetAttachedNodeHandleById 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeUtils_GetAttachedNodeHandleById(
    id: *const c_char,
    node: *mut ArkUI_NodeHandle,
) -> i32
Available on crate features api-12 and api-15 only.
Expand description

Get the node handle by id.

§Arguments

  • id - The id 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.

Available since API-level: 15