DJI Mobile SDK Documentation

      class VideoDataReceivedCallback

      interface VideoDataReceivedCallback
      Package:dji.sdk.payload
      Description:

      This interface provides a callback to receive video data sent from the payload.

      Class Members:

      Callback Method

      method onVideoDataReceived
      void onVideoDataReceived(byte[] data, int len)
      Package:dji.sdk.payload
      Description:

      Receives the video data sent from the payload device. The data may be live view or playback. Only supported by Matrice 300 RTK.

      Input Parameters:
      byte[] dataThe received stream data.
      int lenValid length of the data.