KWDownloadEventArgs Class

Contains details of a KioWare file download.

Properties

Type Signature
String Url
The full url to the content that should be downloaded.
final String UserAgent
The user agent to be used for the download.
final String ContentDisposition
Content-disposition http header, if present.
final String MimeType
The mimetype of the content reported by the server.
long ContentLength
The file size reported by the server.
UUID UniqueId
A unique identifier for the download instance.
boolean AllowDownload
Whether or not the download should be allowed to happen.
boolean ShowProgressBar
Whether or not a progress bar should be shown to the user.
String DownloadCompleteAction
What KioWare should do when the download is complete ("prompt", "open", "nothing").
boolean ClearOnSessionEnd
Whether or not the download should be cleared at session end time.
File DownloadDestination
The final destination of the downloaded file.
Long DownloadId
The id of the download in the Android Download Manager.
boolean DownloadSucceeded
Whether or not the download succeeded.

Methods

Type Signature
Constructor KWDownloadEventArgs(String url, String userAgent, String contentDisposition, String mimetype, long contentLength)
Creates a new KWDownloadEventArgs instance.