Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefDownloadItem

CefBaseRefCounted
   |
   +--CefDownloadItem

   in cef_download_item.h

class CefDownloadItem
extends CefBaseRefCounted

Class used to represent a download item.


Method Summary
 virtual CefString GetContentDisposition()= 0
          Returns the content disposition.
 virtual int64 GetCurrentSpeed()= 0
          Returns a simple speed estimate in bytes/s.
 virtual CefTime GetEndTime()= 0
          Returns the time that the download ended.
 virtual CefString GetFullPath()= 0
          Returns the full path to the downloaded or downloading file.
 virtual uint32 GetId()= 0
          Returns the unique identifier for this download.
 virtual CefString GetMimeType()= 0
          Returns the mime type.
 virtual CefString GetOriginalUrl()= 0
          Returns the original URL before any redirections.
 virtual int GetPercentComplete()= 0
          Returns the rough percent complete or -1 if the receive total size is unknown.
 virtual int64 GetReceivedBytes()= 0
          Returns the number of received bytes.
 virtual CefTime GetStartTime()= 0
          Returns the time that the download started.
 virtual CefString GetSuggestedFileName()= 0
          Returns the suggested file name.
 virtual int64 GetTotalBytes()= 0
          Returns the total number of bytes.
 virtual CefString GetURL()= 0
          Returns the URL.
 virtual bool IsCanceled()= 0
          Returns true if the download has been canceled or interrupted.
 virtual bool IsComplete()= 0
          Returns true if the download is complete.
 virtual bool IsInProgress()= 0
          Returns true if the download is in progress.
 virtual bool IsValid()= 0
          Returns true if this object is valid.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

GetContentDisposition

public virtual CefString GetContentDisposition()= 0;
Returns the content disposition.

GetCurrentSpeed

public virtual int64 GetCurrentSpeed()= 0;
Returns a simple speed estimate in bytes/s.

GetEndTime

public virtual CefTime GetEndTime()= 0;
Returns the time that the download ended.

GetFullPath

public virtual CefString GetFullPath()= 0;
Returns the full path to the downloaded or downloading file.

GetId

public virtual uint32 GetId()= 0;
Returns the unique identifier for this download.

GetMimeType

public virtual CefString GetMimeType()= 0;
Returns the mime type.

GetOriginalUrl

public virtual CefString GetOriginalUrl()= 0;
Returns the original URL before any redirections.

GetPercentComplete

public virtual int GetPercentComplete()= 0;
Returns the rough percent complete or -1 if the receive total size is unknown.

GetReceivedBytes

public virtual int64 GetReceivedBytes()= 0;
Returns the number of received bytes.

GetStartTime

public virtual CefTime GetStartTime()= 0;
Returns the time that the download started.

GetSuggestedFileName

public virtual CefString GetSuggestedFileName()= 0;
Returns the suggested file name.

GetTotalBytes

public virtual int64 GetTotalBytes()= 0;
Returns the total number of bytes.

GetURL

public virtual CefString GetURL()= 0;
Returns the URL.

IsCanceled

public virtual bool IsCanceled()= 0;
Returns true if the download has been canceled or interrupted.

IsComplete

public virtual bool IsComplete()= 0;
Returns true if the download is complete.

IsInProgress

public virtual bool IsInProgress()= 0;
Returns true if the download is in progress.

IsValid

public virtual bool IsValid()= 0;
Returns true if this object is valid. Do not call any other methods if this function returns false.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt