DJI Mobile SDK Documentation

      class IDJIError

      interface IDJIError
      Package:dji.v5.common.error
      Description:

      Error code management class.

      Supported since MSDK 5.0.0

      Class Members:
      method
      method errorCode
      String errorCode()
      Package:dji.v5.common.error
      Description:

      Get error code.

      Return:
      StringReturn error code.
      method
      method hint
      String hint()
      Package:dji.v5.common.error
      Description:

      Get the hint of an error code.

      Return:
      StringReturn the hint of an error code.
      method description
      String description()
      Package:dji.v5.common.error
      Description:

      Get the description of an error code. Support Chinese and English, the language will switch according to the system language.

      Return:
      StringReturn the description of an error code.
      method
      method toString
      @Override
      String toString()
      Package:dji.v5.common.error
      Description:

      Get all error messages.

      Return:
      StringReturn all error messages.