Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for managing the upload or download of a file or image.

Hierarchy

  • MediaTransferHandler

Index

Properties

Optional cancelSignal

cancelSignal?: <internal>.AbortSignal

Whether the upload or download task is cancelled.

Methods

Optional onOperationProgress

  • Reports 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.

    Parameters

    Returns void

Generated using TypeDoc