pub unsafe extern "C" fn OH_ArkUI_CreateDragActionWithNode(
node: ArkUI_NodeHandle,
) -> *mut ArkUI_DragActionAvailable on crate feature
api-12 only.Expand description
Creates a drag action object for a UI instance based on the specified component node of the current UI instance.
§Arguments
node- Indicates the pointer to a component node.
§Returns
- Returns the pointer to the created drag action object; returns null if the operation fails.
Available since API-level: 12