# IDownloadMediaFileCallback

public interface IDownloadMediaFileCallback

## Functions

onCanceled
Link copied to clipboard
public abstract void onCanceled()
public void onCanceled(String uid)
onError
Link copied to clipboard
public abstract void onError(IRongCoreEnum.CoreErrorCode code)
public void onError(String uid, IRongCoreEnum.CoreErrorCode code)
onFileNameChanged
Link copied to clipboard
public abstract void onFileNameChanged(String newFileName)
public void onFileNameChanged(String uid, String newFileName)
onProgress
Link copied to clipboard
public abstract void onProgress(int progress)
public void onProgress(String uid, int progress)
onSuccess
Link copied to clipboard
public abstract void onSuccess()
public void onSuccess(String uid, String localPath)