Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# BACKUP_DATA_CALLBACK

### Callback Definition

    1
    void BACKUP_DATA_CALLBACK(POINTERHANDLE lFileHandle, UINT dataType, BYTE* pBuffer, UINT dataLen, void* pUser);

### Function Description

Data callback when downloading video.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lFileHandlein | LONG | Download handle, return value of `NET_SDK_GetFileByTime`, `NET_SDK_GetFileByTimeEx`, `NET_SDK_GetFileByTimeExV2`.
dataTypein | UINT | Data type.
pBufferin | BYTE* | Video file data.
dataLenin | UINT | Data length.
pUserin | void* | User-defined parameters are passed in when setting the callback function.

### Return Value

None

### Remarks

None

Error Code