pub unsafe extern "C" fn OH_ArkUI_DragEvent_StartDataLoading(
event: *mut ArkUI_DragEvent,
options: *mut OH_UdmfGetDataParams,
key: *mut c_char,
keyLen: c_uint,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Request to start the data sync process with the sync option.
§Arguments
-
event- Indicates the pointer to an ArkUI_DragEvent object. -
options- Indicates the pointer to an OH_UdmfGetDataParams object. -
key- Represents return value after set data to database successfully, it should be not less than [UDMF_KEY_BUFFER_LEN]. -
keyLen- Represents the length of key string.
§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