DJI Mobile SDK Documentation

      class DJIRTKNetworkServiceError

      class DJIRTKNetworkServiceError extends DJIError
      Package:dji.common.error
      Inherits From:DJIError
      Description:

      Errors related to RTK network services.

      Class Members:

      Members

      final AUTHENTICATION_FAILURE
      static final DJIRTKNetworkServiceError AUTHENTICATION_FAILURE =
      new DJIRTKNetworkServiceError("The authentication failed when trying to access to the server.")
      Package:dji.common.error
      Description:

      The authentication failed when trying to access to the server.

      final INVALID_SETTINGS
      static final DJIRTKNetworkServiceError INVALID_SETTINGS =
      new DJIRTKNetworkServiceError("The network service settings are invalid.")
      Package:dji.common.error
      Description:

      Network settings are not configured yet or invalid.

      final ALREADY_STARTED
      static final DJIRTKNetworkServiceError ALREADY_STARTED =
      new DJIRTKNetworkServiceError("The service is already started. Stop it first to re-start the service.")
      Package:dji.common.error
      Description:

      The service is already started. Stop it first to re-start the service.

      final INVALID_GPS_DATA
      static final DJIRTKNetworkServiceError INVALID_GPS_DATA = new DJIRTKNetworkServiceError(
      "The GPS location of the aircraft is invalid. The RTK network service requires the location of the air system.")
      Package:dji.common.error
      Description:

      The GPS location of the aircraft is invalid. The RTK network service requires the location of the air system.

      final INCORRECT_REFERENCE_STATION_SOURCE
      static final DJIRTKNetworkServiceError INCORRECT_REFERENCE_STATION_SOURCE = new DJIRTKNetworkServiceError(
      "Please choose correct reference station srouce.")
      Package:dji.common.error
      Description:

      Please choose correct reference station srouce.

      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 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.