OH_ArkUI_SurfaceHolder_Create

Function OH_ArkUI_SurfaceHolder_Create 

Source
pub unsafe extern "C" fn OH_ArkUI_SurfaceHolder_Create(
    node: ArkUI_NodeHandle,
) -> *mut OH_ArkUI_SurfaceHolder
Available on crate feature api-19 only.
Expand description

Create a OH_ArkUI_SurfaceHolder object from an XComponent node.

§Arguments

  • node - Indicates the pointer to the XComponent node.

§Returns

  • Returns the created OH_ArkUI_SurfaceHolder object’s pointer.

Available since API-level: 19