针对单个任务设置监听器, https://github.com/AriaLyy/Aria/issues/37
This commit is contained in:
@ -35,4 +35,25 @@ public interface ProxyConstance {
|
||||
*/
|
||||
String UPLOAD_PROXY_CLASS_SUFFIX = "$$UploadListenerProxy";
|
||||
|
||||
int DOWNLOAD_PRE = 0X11;
|
||||
int DOWNLOAD_TASK_PRE = 0X12;
|
||||
int DOWNLOAD_TASK_RESUME = 0X13;
|
||||
int DOWNLOAD_TASK_START = 0X14;
|
||||
int DOWNLOAD_TASK_STOP = 0X15;
|
||||
int DOWNLOAD_TASK_CANCEL = 0X16;
|
||||
int DOWNLOAD_TASK_FAIL = 0X17;
|
||||
int DOWNLOAD_TASK_COMPLETE = 0X18;
|
||||
int DOWNLOAD_TASK_RUNNING = 0X19;
|
||||
int DOWNLOAD_TASK_NO_SUPPORT_BREAKPOINT = 0X1A;
|
||||
|
||||
int UPLOAD_PRE = 0X11;
|
||||
int UPLOAD_TASK_PRE = 0X12;
|
||||
int UPLOAD_TASK_RESUME = 0X13;
|
||||
int UPLOAD_TASK_START = 0X14;
|
||||
int UPLOAD_TASK_STOP = 0X15;
|
||||
int UPLOAD_TASK_CANCEL = 0X16;
|
||||
int UPLOAD_TASK_FAIL = 0X17;
|
||||
int UPLOAD_TASK_COMPLETE = 0X18;
|
||||
int UPLOAD_TASK_RUNNING = 0X19;
|
||||
int UPLOAD_TASK_NO_SUPPORT_BREAKPOINT = 0X1A;
|
||||
}
|
||||
|
Reference in New Issue
Block a user