public static class DownloadManager.Query
extends Object
| java.lang.Object | |
| android.app.DownloadManager.Query | |
该类可用于过滤下载管理器查询。
Public constructors |
|
|---|---|
DownloadManager.Query() |
|
公共方法(Public methods) |
|
|---|---|
DownloadManager.Query |
setFilterById(long... ids) 仅包含具有给定ID的下载。 |
DownloadManager.Query |
setFilterByStatus(int flags) 仅包含状态与任何给定状态标志匹配的下载。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
DownloadManager.Query setFilterById (long... ids)
仅包含具有给定ID的下载。
| 参数(Parameters) | |
|---|---|
ids |
long
|
| 返回(Returns) | |
|---|---|
DownloadManager.Query |
this object |
DownloadManager.Query setFilterByStatus (int flags)
仅包含状态与任何给定状态标志匹配的下载。
| 参数(Parameters) | |
|---|---|
flags |
int: any combination of the STATUS_* bit flags |
| 返回(Returns) | |
|---|---|
DownloadManager.Query |
this object |