TTMSFNCWebBrowserDownloads Class
Collection of active and completed TTMSFNCWebBrowserDownload items tracked by the browser.
API unit family: TMSFNCWebBrowser
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCWebBrowserDownloads = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Indexed access to download items in the collection. |
Methods
| Name | Description |
|---|---|
| Add | Adds a new download item to the collection and returns it. |
| ClearFinishedDownloads | Removes all items whose State is dsCompleted or dsCancelled from the collection. |
| GetDownloadByResultFile | Returns the download item whose ResultFilePath matches AResultFilePath, or nil if not found. |
| GetDownloadByURI | Returns the download item whose URI matches AURI, or nil if not found. |
| Insert | Inserts a new download item at the specified zero-based index and returns it. |
| RemoveDownloadsByState | Removes all download items that are in the specified state. |