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