pub unsafe extern "C" fn OH_ArkUI_NodeContent_InsertNode(
content: ArkUI_NodeContentHandle,
node: ArkUI_NodeHandle,
position: i32,
) -> i32Available on crate feature
api-12 only.Expand description
insert a node into a node content at a given position.
§Arguments
-
content- Indicates the pointer to the node content instance. -
node- Indicates the pointer to the node -
position- Indicates the position for inserting the node
§Returns
- Returns the error code.
Returns [
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.
Available since API-level: 12