@Implements(android.app.DownloadManager.Request.class) public static class ShadowDownloadManager.ShadowRequest extends Object
Constructor | Description |
---|---|
ShadowRequest() |
Modifier and Type | Method | Description |
---|---|---|
int |
getAllowedNetworkTypes() |
|
boolean |
getAllowedOverMetered() |
|
boolean |
getAllowedOverRoaming() |
|
CharSequence |
getDescription() |
|
Uri |
getDestination() |
|
CharSequence |
getMimeType() |
|
int |
getNotificationVisibility() |
|
List<Pair<String,String>> |
getRequestHeaders() |
|
int |
getStatus() |
|
CharSequence |
getTitle() |
|
Uri |
getUri() |
|
boolean |
getVisibleInDownloadsUi() |
|
protected DownloadManager.Request |
setDestinationInExternalPublicDir(String dirType,
String subPath) |
|
void |
setStatus(int status) |
public int getStatus()
public void setStatus(int status)
public Uri getUri()
public Uri getDestination()
public CharSequence getTitle()
public CharSequence getDescription()
public CharSequence getMimeType()
public int getNotificationVisibility()
public int getAllowedNetworkTypes()
public boolean getAllowedOverRoaming()
public boolean getAllowedOverMetered()
public boolean getVisibleInDownloadsUi()
@Implementation protected DownloadManager.Request setDestinationInExternalPublicDir(String dirType, String subPath) throws Exception
Exception