public interface CefDownloadItem
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getContentDisposition()
Returns the content disposition.
|
long |
getCurrentSpeed()
Returns a simple speed estimate in bytes/s.
|
Date |
getEndTime()
Returns the time that the download ended.
|
String |
getFullPath()
Returns the full path to the downloaded or downloading file.
|
int |
getId()
Returns the unique identifier for this download.
|
String |
getMimeType()
Returns the mime type.
|
int |
getPercentComplete()
Returns the rough percent complete or -1 if the receive total size is
unknown.
|
long |
getReceivedBytes()
Returns the number of received bytes.
|
Date |
getStartTime()
Returns the time that the download started.
|
String |
getSuggestedFileName()
Returns the suggested file name.
|
long |
getTotalBytes()
Returns the total number of bytes.
|
String |
getURL()
Returns the URL.
|
boolean |
isCanceled()
Returns true if the download has been canceled or interrupted.
|
boolean |
isComplete()
Returns true if the download is complete.
|
boolean |
isInProgress()
Returns true if the download is in progress.
|
boolean |
isValid()
Returns true if this object is valid.
|
boolean isValid()
boolean isInProgress()
boolean isComplete()
boolean isCanceled()
long getCurrentSpeed()
int getPercentComplete()
long getTotalBytes()
long getReceivedBytes()
Date getStartTime()
Date getEndTime()
String getFullPath()
int getId()
String getURL()
String getSuggestedFileName()
String getContentDisposition()
String getMimeType()
Copyright © 2017. All rights reserved.