Class used to represent a download item.
More...
#include "include/cef_download_item.h"
Class used to represent a download item.
◆ GetContentDisposition()
virtual CefString CefDownloadItem::GetContentDisposition |
( |
| ) |
|
|
pure virtual |
Returns the content disposition.
◆ GetCurrentSpeed()
virtual int64_t CefDownloadItem::GetCurrentSpeed |
( |
| ) |
|
|
pure virtual |
Returns a simple speed estimate in bytes/s.
◆ GetEndTime()
Returns the time that the download ended.
◆ GetFullPath()
virtual CefString CefDownloadItem::GetFullPath |
( |
| ) |
|
|
pure virtual |
Returns the full path to the downloaded or downloading file.
◆ GetId()
virtual uint32_t CefDownloadItem::GetId |
( |
| ) |
|
|
pure virtual |
Returns the unique identifier for this download.
◆ GetInterruptReason()
Returns the most recent interrupt reason.
◆ GetMimeType()
virtual CefString CefDownloadItem::GetMimeType |
( |
| ) |
|
|
pure virtual |
◆ GetOriginalUrl()
virtual CefString CefDownloadItem::GetOriginalUrl |
( |
| ) |
|
|
pure virtual |
Returns the original URL before any redirections.
◆ GetPercentComplete()
virtual int CefDownloadItem::GetPercentComplete |
( |
| ) |
|
|
pure virtual |
Returns the rough percent complete or -1 if the receive total size is unknown.
◆ GetReceivedBytes()
virtual int64_t CefDownloadItem::GetReceivedBytes |
( |
| ) |
|
|
pure virtual |
Returns the number of received bytes.
◆ GetStartTime()
Returns the time that the download started.
◆ GetSuggestedFileName()
virtual CefString CefDownloadItem::GetSuggestedFileName |
( |
| ) |
|
|
pure virtual |
Returns the suggested file name.
◆ GetTotalBytes()
virtual int64_t CefDownloadItem::GetTotalBytes |
( |
| ) |
|
|
pure virtual |
Returns the total number of bytes.
◆ GetURL()
virtual CefString CefDownloadItem::GetURL |
( |
| ) |
|
|
pure virtual |
◆ IsCanceled()
virtual bool CefDownloadItem::IsCanceled |
( |
| ) |
|
|
pure virtual |
Returns true if the download has been canceled.
◆ IsComplete()
virtual bool CefDownloadItem::IsComplete |
( |
| ) |
|
|
pure virtual |
Returns true if the download is complete.
◆ IsInProgress()
virtual bool CefDownloadItem::IsInProgress |
( |
| ) |
|
|
pure virtual |
Returns true if the download is in progress.
◆ IsInterrupted()
virtual bool CefDownloadItem::IsInterrupted |
( |
| ) |
|
|
pure virtual |
Returns true if the download has been interrupted.
◆ IsValid()
virtual bool CefDownloadItem::IsValid |
( |
| ) |
|
|
pure virtual |
Returns true if this object is valid.
Do not call any other methods if this function returns false.
The documentation for this class was generated from the following file: