CSDownloadRequest

class CSDownloadRequest(url: String, file: File) : CSProcessBase<File>

Constructors

Link copied to clipboard
fun CSDownloadRequest(url: String, file: File)

Functions

Link copied to clipboard
open fun cancel()
Link copied to clipboard
fun failed(message: String): CSProcessBase<File>
fun failed(process: CSProcessBase<*>)
fun failed(exception: Throwable?, message: String?)
Link copied to clipboard
fun onCancel(function: (CSProcessBase<File>) -> Unit): CSProcessBase<File>
Link copied to clipboard
open override fun onDestroy()
Link copied to clipboard
fun onDone(function: (CSProcessBase<File>) -> Unit): CSProcessBase<File>
Link copied to clipboard
fun onFailed(function: (CSProcessBase<*>) -> Unit): CSProcessBase<File>
Link copied to clipboard
fun onSuccess(function: (CSProcessBase<File>) -> Unit): CSProcessBase<File>
Link copied to clipboard
fun success()
fun success(data: File)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val associated: CSAssociations
Link copied to clipboard
var data: File?
Link copied to clipboard
val eventCancel: CSEvent<CSProcessBase<File>>
Link copied to clipboard
override val eventDestroy: CSEvent<Unit>
Link copied to clipboard
val eventDone: CSEvent<CSProcessBase<File>>
Link copied to clipboard
val eventFailed: CSEvent<CSProcessBase<*>>
Link copied to clipboard
val eventSuccess: CSEvent<CSProcessBase<File>>
Link copied to clipboard
var failedMessage: String?
Link copied to clipboard
var failedProcess: CSProcessBase<*>?
Link copied to clipboard
var isCanceled: Boolean
Link copied to clipboard
var isDestroyed: Boolean
Link copied to clipboard
var isDone: Boolean
Link copied to clipboard
var isFailed: Boolean
Link copied to clipboard
var isSuccess: Boolean
Link copied to clipboard
val onProgress: CSEvent<CSProcessBase<File>>
Link copied to clipboard
var progress: Long
Link copied to clipboard
override val registrations: CSRegistrations
Link copied to clipboard
var throwable: Throwable?
Link copied to clipboard
var title: String?