EMDownloadCallback constructor

EMDownloadCallback({
  1. void onSuccess(
    1. String fileId,
    2. String path
    )?,
  2. void onError(
    1. String fileId,
    2. EMError error
    )?,
  3. void onProgress(
    1. String fileId,
    2. int progress
    )?,
})

~english Create a group shared file download callback. ~end

~chinese 创建文件下载对象。 ~end

Implementation

EMDownloadCallback({
  this.onSuccess,
  this.onError,
  this.onProgress,
});