OH_ArkUI_NodeUtils_GetLastChildIndexWithoutExpand

Function OH_ArkUI_NodeUtils_GetLastChildIndexWithoutExpand 

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

Obtains the index of the current FrameNode’s last child node which is on the tree.

§Arguments

  • node - Indicates the target node.

  • index - the index of the subnode.

§Returns

  • Error code. [ARKUI_ERROR_CODE_NO_ERROR] success. [ARKUI_ERROR_CODE_PARAM_INVALID] Function parameter exception.

Available since API-level: 15