OH_ArkUI_CancelDataLoading

Function OH_ArkUI_CancelDataLoading 

Source
pub unsafe extern "C" fn OH_ArkUI_CancelDataLoading(
    uiContext: ArkUI_ContextHandle,
    key: *const c_char,
) -> i32
Available on crate features api-12 and api-15 only.
Expand description

Cancel the data sync process.

§Arguments

§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