# DownloadMediaCallback

public abstract class DownloadMediaCallback extends RongIMClient.ResultCallback<T>

下载文件的回调。

## Constructors

RongIMClient.DownloadMediaCallback
Link copied to clipboard
public void RongIMClient.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(RongIMClient.ErrorCode e)
错误时回调。
onFail
Link copied to clipboard
public void onFail(int errorCode)
public void onFail(RongIMClient.ErrorCode errorCode)
onSuccess
Link copied to clipboard
public abstract void onSuccess(T t)
成功时回调。