CefDownloadItem

interface CefDownloadItem

Class used to represent a download item.

Functions

Link copied to clipboard
Returns the content disposition.
Link copied to clipboard
abstract fun getCurrentSpeed(): Long
Returns a simple speed estimate in bytes/s.
Link copied to clipboard
abstract fun getEndTime(): Date
Returns the time that the download ended.
Link copied to clipboard
abstract fun getFullPath(): String
Returns the full path to the downloaded or downloading file.
Link copied to clipboard
abstract fun getId(): Int
Returns the unique identifier for this download.
Link copied to clipboard
abstract fun getMimeType(): String
Returns the mime type.
Link copied to clipboard
abstract fun getPercentComplete(): Int
Returns the rough percent complete or -1 if the receive total size is unknown.
Link copied to clipboard
abstract fun getReceivedBytes(): Long
Returns the number of received bytes.
Link copied to clipboard
abstract fun getStartTime(): Date
Returns the time that the download started.
Link copied to clipboard
Returns the suggested file name.
Link copied to clipboard
abstract fun getTotalBytes(): Long
Returns the total number of bytes.
Link copied to clipboard
abstract fun getURL(): String
Returns the URL.
Link copied to clipboard
abstract fun isCanceled(): Boolean
Returns true if the download has been canceled or interrupted.
Link copied to clipboard
abstract fun isComplete(): Boolean
Returns true if the download is complete.
Link copied to clipboard
abstract fun isInProgress(): Boolean
Returns true if the download is in progress.
Link copied to clipboard
abstract fun isValid(): Boolean
Returns true if this object is valid.