DJI Mobile SDK Documentation

      class DataResult

      class DataResult
      Package:dji.v5.manager.mop
      Description:

      The result of pipeline reads and writes . You can get the result status after pipeline read and write.

      Supported since MSDK 5.3.0

      Class Members:
      method
      method getLength
      int getLength()
      Package:dji.v5.manager.mop
      Description:

      Gets the length of data read and written by the pipeline.

      Return:
      intReturns the length of data read and written by the pipeline.
      method
      method getError
      IDJIError getError()
      Package:dji.v5.manager.mop
      Description:

      Gets the result of pipeline reads and writes. If the read and write are successful, NULL will be returned, otherwise an error code will be returned.

      Return:
      IDJIErrorReturns the result of pipe reads and writes.