DJI Mobile SDK Documentation

      class AircraftYawActionError

      class AircraftYawActionError extends DJIError
      Package:dji.sdk.mission.error
      Inherits From:DJIError
      Description:

      The error domain used to describe errors produced by the AircraftYawAction object.

      Class Members:

      Members

      final INVALID_ROTATION_SPEED
      static final AircraftYawActionError INVALID_ROTATION_SPEED =
      new AircraftYawActionError("Rotation speed value set is not within valid range. [0-100]")
      Package:dji.sdk.mission.error
      Description:

      Set rotation speed is not within valid range [0, 100].

      final INVALID_ANGLE_VALUE
      static final AircraftYawActionError INVALID_ANGLE_VALUE =
      new AircraftYawActionError("Angle value set is not within valid range [-180, 180]")
      Package:dji.sdk.mission.error
      Description:

      Set angle value is not within valid range [-180, 180].

      final CANNOT_RUN_VIRTUAL_STICK
      static final AircraftYawActionError CANNOT_RUN_VIRTUAL_STICK =
      new AircraftYawActionError("Aircraft cannot execute virtual stick commands")
      Package:dji.sdk.mission.error
      Description:

      Aircraft currently in virtual sticks mode.

      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.