onCancel

open fun onCancel(dialog: DialogInterface)

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

Parameters

dialog

The dialog that was cancelled.