Optional
cancelWhether the upload or download task is cancelled.
Optional
onReports the progress of the upload or download task once every second. This callback is triggered when the createMediaMessageByUploading method or the downloadMedia method is called. The triggering frequency is once every second. If the upload or download task pauses, this callback also pauses until the task continues. When the upload or download task is complete, the SDK does not save the callback value, so you need to save the value yourself.
Generated using TypeDoc
Interface for managing the upload or download of a file or image.