kotlin / com.liulishuo.okdownload.kotlin.listener / createListener4

createListener4

fun createListener4(onTaskStart: onTaskStart? = null, onConnectStart: onConnectStart? = null, onConnectEnd: onConnectEnd? = null, onInfoReady: onInfoReady? = null, onProgressBlock: onProgressBlock? = null, onProgressWithoutTotalLength: onProgressWithoutTotalLength? = null, onBlockEnd: onBlockEnd? = null, onTaskEndWithListener4Model: onTaskEndWithListener4Model): DownloadListener4

A concise way to create a DownloadListener4, only the DownloadListener4.taskEnd is necessary.