OH_ArkUI_NodeUtils_GetParentInPageTree

Function OH_ArkUI_NodeUtils_GetParentInPageTree 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeUtils_GetParentInPageTree(
    node: ArkUI_NodeHandle,
) -> ArkUI_NodeHandle
Available on crate features api-12 and api-14 only.
Expand description

Get the parent node to obtain the component nodes created by ArkTs.

§Arguments

  • node - Target node object.

§Returns

  • Return the pointer of the component.

Available since API-level: 14