onCancel

open override fun onCancel(dialog: DialogInterface)

Called when the dialog is cancelled by the user. Cancels the progress collection, cancels the download job, and notifies any registered cancel listener.