@Implements(value=android.app.DownloadManager.class) public class ShadowDownloadManager extends java.lang.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(android.app.DownloadManager.Request request) |
android.app.DownloadManager.Request |
getRequest(long id) |
int |
getRequestCount() |
protected android.database.Cursor |
query(android.app.DownloadManager.Query query) |
protected int |
remove(long... ids) |
@Implementation protected long enqueue(android.app.DownloadManager.Request request)
@Implementation protected int remove(long... ids)
@Implementation protected android.database.Cursor query(android.app.DownloadManager.Query query)
public android.app.DownloadManager.Request getRequest(long id)
public int getRequestCount()