DJI Mobile SDK Documentation

      class DJIUTMISSError

      class DJIUTMISSError extends DJIError
      Package:dji.sdk.utmiss
      Inherits From:DJIError
      Description:

      Errors related to the UTMISS.

      Class Members:

      Members

      final ORDER_OF_FUNC
      static final DJIUTMISSError ORDER_OF_FUNC = new DJIUTMISSError("You need to call start first!",  -0x01)
      Package:dji.sdk.utmiss
      Description:

      Wrong order of invoking functions. Failed to initialize.

      final INVALID_DB
      static final DJIUTMISSError INVALID_DB = new DJIUTMISSError("Db create failed!", -0x02)
      Package:dji.sdk.utmiss
      Description:

      Failed to create database.

      final CACHE_FAILED
      static final DJIUTMISSError CACHE_FAILED = new DJIUTMISSError("Db insert failed!", -0x03)
      Package:dji.sdk.utmiss
      Description:

      Failed to insert the data. The data has been lost.

      final EMPTY_DB
      static final DJIUTMISSError EMPTY_DB = new DJIUTMISSError("Db is empty!", -0x04)
      Package:dji.sdk.utmiss
      Description:

      The database is currently empty.

      final UPLOAD_FAILED
      static final DJIUTMISSError UPLOAD_FAILED = new DJIUTMISSError("Upload failed!", -0x05)
      Package:dji.sdk.utmiss
      Description:

      Failed to upload. Request code is bigger than 299.

      final AREA_NOT_SUPPORTED
      static final DJIUTMISSError AREA_NOT_SUPPORTED = new DJIUTMISSError("Area is not supported!", -0xF0)
      Package:dji.sdk.utmiss
      Description:

      Current area does not support this function.

      final UTMISS_HAD_STARTED
      static final DJIUTMISSError UTMISS_HAD_STARTED = new DJIUTMISSError("UTMISS had started!", -0xF1)
      Package:dji.sdk.utmiss
      Description:

      UTMISS has started already.

      Inherited Methods:
      dji.common.error.DJIError
      method
      method getDJIError
      static DJIError getDJIError(int errorCode)
      Package:dji.common.error
      Description:

      Returns the specific error in the DJIFlightHubError according to the error code.

      Input Parameters:
      int errorCodeerrorCode for DJIFlightHubError.
      Return:
      static DJIErrorAn NSError object initialized with errorCode. If the errorCode was 0, returns nil.
      method getDJIError
      static DJIError getDJIError(int errorCode)
      Package:dji.sdk.utmiss
      Description:

      Get DJIUTMISSError.

      Input Parameters:
      int errorCodeAn int value of error code.
      Return:
      static DJIErrorAn object of DJIError.
      method getDescription
      String getDescription()
      Package:dji.common.error
      Description:

      Returns the description of the error code.

      Return:
      StringThe description of the error code.
      method setDescription
      void setDescription(String desc)
      Package:dji.common.error
      Description:

      Sets the description for the error code.

      Input Parameters:
      String descDescription string.