Added in API level 9
Query
open class Query
kotlin.Any | |
↳ | android.app.DownloadManager.Query |
This class may be used to filter download manager queries.
Summary
Public constructors | |
---|---|
Query() |
Public methods | |
---|---|
open DownloadManager.Query! |
setFilterById(vararg ids: Long) Include only the downloads with the given IDs. |
open DownloadManager.Query! |
setFilterByStatus(flags: Int) Include only downloads with status matching any the given status flags. |
Public constructors
Query
Query()
Public methods
setFilterById
Added in API level 9
open fun setFilterById(vararg ids: Long): DownloadManager.Query!
Include only the downloads with the given IDs.
Return | |
---|---|
DownloadManager.Query! |
this object |
setFilterByStatus
Added in API level 9
open fun setFilterByStatus(flags: Int): DownloadManager.Query!
Include only downloads with status matching any the given status flags.
Parameters | |
---|---|
flags |
Int: any combination of the STATUS_* bit flags |
Return | |
---|---|
DownloadManager.Query! |
this object |