Embedded GigaGet download manager. First try.

This commit is contained in:
David 2016-04-21 20:28:01 -03:00
parent f08b1224c9
commit 4bae12aa55
58 changed files with 3121 additions and 40 deletions

View file

@ -0,0 +1,14 @@
package us.shandian.giga.get;
public interface DownloadManager
{
public static final int BLOCK_SIZE = 512 * 1024;
public int startMission(String url, String name, int threads);
public void resumeMission(int id);
public void pauseMission(int id);
public void deleteMission(int id);
public DownloadMission getMission(int id);
public int getCount();
public String getLocation();
}