pub unsafe extern "C" fn OH_ArkUI_NodeAdapter_InsertItem(
handle: ArkUI_NodeAdapterHandle,
startPosition: u32,
itemCount: u32,
) -> i32Available on crate feature
api-12 only.Expand description
Instructs the specified adapter to insert certain elements.
§Arguments
-
handle- Indicates the target component adapter. -
startPosition- Indicates the start position of the elements to insert. -
itemCount- Indicates the number of the elements to insert.
§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