OH_ArkUI_NodeUtils_GetActiveChildrenInfo

Function OH_ArkUI_NodeUtils_GetActiveChildrenInfo 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeUtils_GetActiveChildrenInfo(
    head: ArkUI_NodeHandle,
    handle: *mut *mut ArkUI_ActiveChildrenInfo,
) -> i32
Available on crate features api-12 and api-14 only.
Expand description

Retrieve all active child nodes of a node. Span will not be counted in the children.

§Arguments

  • head - Pass in the node that needs to be obtained.

  • handle - The structure corresponding to the sub node information of the head node.

§Returns

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

Available since API-level: 14