OH_ArkUI_NodeUtils_GetCurrentPageRootNode

Function OH_ArkUI_NodeUtils_GetCurrentPageRootNode 

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

Retrieve the root node of the current page.

§Arguments

  • node - Target node object.

§Returns

  • Return the pointer of the component.

Available since API-level: 14