增加广播支持,增加get参数

This commit is contained in:
laoyuyu
2018-12-04 20:36:37 +08:00
parent ed0c98fd7e
commit 44f3b4faf1
20 changed files with 367 additions and 60 deletions

View File

@@ -23,8 +23,7 @@ import com.arialyy.aria.core.scheduler.ISchedulers;
import com.arialyy.aria.core.upload.uploader.SimpleUploadUtil;
/**
* Created by lyy on 2017/2/23.
* 上传任务
* Created by lyy on 2017/2/23. 上传任务
*/
public class UploadTask extends AbsNormalTask<UploadEntity, UploadTaskEntity> {
@@ -35,6 +34,10 @@ public class UploadTask extends AbsNormalTask<UploadEntity, UploadTaskEntity> {
mUtil = new SimpleUploadUtil(taskEntity, (IUploadListener) mListener);
}
@Override public int getTaskType() {
return UPLOAD;
}
@Override public String getKey() {
return mTaskEntity.getEntity().getFilePath();
}