DJI Mobile SDK Documentation

      class RealTimeTransimissionStateListener

      interface RealTimeTransimissionStateListener
      Package:dji.v5.manager.aircraft.megaphone
      Description:

      Status listener for streaming mode.

      Supported since MSDK 5.0.0

      Class Members:
      method onProgress
      void onProgress(long sentBytes, long totalBytes)
      Package:dji.v5.manager.aircraft.megaphone
      Description:

      To get the transfer progress for streaming mode.

      Supported since MSDK 5.0.0

      Input Parameters:
      long sentBytesThe number of bytes that have been transferred.
      long totalBytesThe total number of bytes that need to be transferred.
      method onUploadedStatus
      void onUploadedStatus(UploadState uploadState)
      Package:dji.v5.manager.aircraft.megaphone
      Description:

      To get the transmission status of the streaming mode.

      Supported since MSDK 5.0.0

      Input Parameters:
      UploadState uploadStateTransmission Status