public void OnJobFinished(DownloadJob job) { if (job.Result == DownloadJob.JobResult.SUCCESS) { SuccessfulDownloads.Enqueue(job); } else { FailedDownloads.Enqueue(job); } }
public void OnJobFinished(DownloadJob job) { if (job.Result == DownloadJob.JobResult.SUCCESS) { SuccessfulDownloads.Enqueue(job); } else { FailedDownloads.Enqueue(job); } // TODO: Add fail reason to FailedDownloads items }