OH_ArkUI_NodeUtils_GetChildWithExpandMode

Function OH_ArkUI_NodeUtils_GetChildWithExpandMode 

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

Obtains a subnode by position with the expand mode.

§Arguments

  • node - Indicates the target node.

  • position - Indicates the position of the subnode.

  • subnode - The pointer to the subnode.

  • expandMode - Indicates the expand mode. ArkUI_ExpandMode.

§Returns

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

Available since API-level: 15