kotlin / com.liulishuo.okdownload.kotlin / com.liulishuo.okdownload.DownloadTask / execute1

execute1

fun DownloadTask.execute1(taskStart: onTaskStartWithModel? = null, retry: onRetry? = null, connected: onConnected? = null, progress: onProgress? = null, taskEnd: onTaskEndWithModel): Unit

Correspond to DownloadTask.execute. This method will create a com.liulishuo.okdownload.core.listener.DownloadListener1 instance internally.