# DownloadMediaCallback

public abstract class DownloadMediaCallback extends IRongCoreCallback.ResultCallback<T>

下载文件的回调。

## Constructors

IRongCoreCallback.DownloadMediaCallback
Link copied to clipboard
public void IRongCoreCallback.DownloadMediaCallback()

## Functions

onProgress
Link copied to clipboard
public abstract void onProgress(int progress)
下载进度。

## Inherited functions

onCallback
Link copied to clipboard
public void onCallback(T t)
onError
Link copied to clipboard
public abstract void onError(IRongCoreEnum.CoreErrorCode e)
错误时回调。
onFail
Link copied to clipboard
public void onFail(IRongCoreEnum.CoreErrorCode coreErrorCode)
public void onFail(int errorCode)
onSuccess
Link copied to clipboard
public abstract void onSuccess(T t)
成功时回调。