pub unsafe extern "C" fn OH_ArkUI_CancelDataLoading(
uiContext: ArkUI_ContextHandle,
key: *const c_char,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Cancel the data sync process.
§Arguments
-
uiContext- Indicates the pointer to a UI instance. -
key- Represents the data key returned byOH_ArkUI_DragEvent_StartDataLoading.
§Returns
- Returns the result 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: 15