@Implements(android.app.DownloadManager.class) public class ShadowDownloadManager extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
ShadowDownloadManager.ShadowQuery |
|
static class |
ShadowDownloadManager.ShadowRequest |
Constructor | Description |
---|---|
ShadowDownloadManager() |
Modifier and Type | Method | 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()