Package org.robolectric.shadows
Class ShadowDownloadManager
java.lang.Object
org.robolectric.shadows.ShadowDownloadManager
@Implements(android.app.DownloadManager.class) public class ShadowDownloadManager extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowDownloadManager.ShadowQuery
static class
ShadowDownloadManager.ShadowRequest
-
Constructor Summary
Constructors Constructor Description ShadowDownloadManager()
-
Method Summary
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)
-
Constructor Details
-
ShadowDownloadManager
public ShadowDownloadManager()
-
-
Method Details
-
enqueue
-
remove
-
query
-
getRequest
-
getRequestCount
public int getRequestCount()
-