@Implements(value=android.app.DownloadManager.class) public class ShadowDownloadManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShadowDownloadManager.ShadowQuery |
static class |
ShadowDownloadManager.ShadowRequest |
| Constructor and Description |
|---|
ShadowDownloadManager() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
enqueue(DownloadManager.Request request) |
DownloadManager.Request |
getRequest(long id) |
int |
getRequestCount() |
protected Cursor |
query(DownloadManager.Query query) |
protected int |
remove(long... ids) |
@Implementation protected long enqueue(DownloadManager.Request request)
@Implementation protected int remove(long... ids)
@Implementation protected Cursor query(DownloadManager.Query query)
public DownloadManager.Request getRequest(long id)
public int getRequestCount()