358359360361362363364365366
} } private void sendDownloadStarted(int totalFileCount) { DownloadStatusEvent evt = new DownloadStatusEvent(DownloadEventType.DOWNLOAD_STARTED); evt.setFileCountTotal(totalFileCount); sendEvent(evt); }
365366367368369370371372
sendEvent(evt); } private void sendDownloadStopped() { DownloadStatusEvent evt = new DownloadStatusEvent(DownloadEventType.DOWNLOAD_STOPPED); sendEvent(evt); }
371372373374375376377378
sendEvent(evt); } private void sendDownloadComplete() { DownloadStatusEvent evt = new DownloadStatusEvent(DownloadEventType.DOWNLOAD_COMPLETED); sendEvent(evt); }
377378379380381382383384
sendEvent(evt); } private void sendDownloadFailed() { DownloadStatusEvent evt = new DownloadStatusEvent(DownloadEventType.DOWNLOAD_FAILED); sendEvent(evt); }
383384385386387388389390391
sendEvent(evt); } private void sendDownloadFileStarted(String filename) { DownloadStatusEvent evt = new DownloadStatusEvent(DownloadEventType.DOWNLOAD_FILE_STARTED); evt.setFilename(filename); sendEvent(evt); }
390391392393394395396397398
sendEvent(evt); } private void sendDownloadFileCompleted(String filename) { DownloadStatusEvent evt = new DownloadStatusEvent(DownloadEventType.DOWNLOAD_FILE_COMPLETED); evt.setFilename(filename); sendEvent(evt); }