DownloadStatus

open class DownloadStatus : Serializable

Structure to hold current status information about ongoing download session.

Constructors

DownloadStatus
Link copied to clipboard
open fun DownloadStatus(downloadId: Long, @NonNull state: DownloadState, @Nullable error: DownloadError, @Nullable totalBytes: Long, receivedBytes: Long, transferredBytes: Long, @NonNull downloadOptions: DownloadOptions, @Nullable httpResult: Expected<HttpRequestError, HttpResponseData>)
DownloadStatus
Link copied to clipboard
open fun DownloadStatus(@Nullable error: DownloadError, @Nullable totalBytes: Long, @NonNull downloadOptions: DownloadOptions, @Nullable httpResult: Expected<HttpRequestError, HttpResponseData>)

Functions

equals
Link copied to clipboard
open fun equals(object: Any): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

downloadId
Link copied to clipboard
private open var downloadId: Long
downloadOptions
Link copied to clipboard
private open var downloadOptions: DownloadOptions
error
Link copied to clipboard
private open var error: DownloadError
httpResult
Link copied to clipboard
private open var httpResult: Expected<HttpRequestError, HttpResponseData>
receivedBytes
Link copied to clipboard
private open var receivedBytes: Long
state
Link copied to clipboard
private open var state: DownloadState
totalBytes
Link copied to clipboard
private open var totalBytes: Long
transferredBytes
Link copied to clipboard
private open var transferredBytes: Long