class PipelineError
class PipelineError extends DJIError
Package: dji.mop.common Inherits From: DJIError
Description:
Errors related to the Pipelines
.
Class Members:
Members
final UNKNOWN
static final PipelineError UNKNOWN = new PipelineError("DJIPipelineError: Unknown." , -10001 )
Description:
Unknown.
final CRC_CHECK_FAILED
static final PipelineError CRC_CHECK_FAILED = new PipelineError("DJIPipelineError: CRC check failed." , -10002 )
Description:
CRC check failed.
final INVALID_PARAMETERS
static final PipelineError INVALID_PARAMETERS = new PipelineError("DJIPipelineError: Invalid Parameters." , -10003 )
Description:
Invalid Parameters.
final NOT_ENOUGH_MEMORY
static final PipelineError NOT_ENOUGH_MEMORY = new PipelineError("DJIPipelineError: Not enough memory." , -10004 )
Description:
Not enough memory.
final NOT_READY
static final PipelineError NOT_READY = new PipelineError("DJIPipelineError: Usually occurs when allocating the local pipeline ID." , -10005 )
Description:
Usually occurs when allocating the local pipeline ID.
final SEND_FAILED
static final PipelineError SEND_FAILED = new PipelineError("DJIPipelineError: Send data exception." , -10006 )
Description:
Send data exception.
final RECEIVE_FAILED
static final PipelineError RECEIVE_FAILED = new PipelineError("DJIPipelineError: Receiving data exceptions." , -10007 )
Description:
Receiving data exceptions.
final TIMEOUT
static final PipelineError TIMEOUT = new PipelineError("DJIPipelineError: Timeout error." , -10008 )
Description:
Timeout error.
final BUSY_OPERATION
static final PipelineError BUSY_OPERATION = new PipelineError("DJIPipelineError: Busy now, please try again later." , -10009 )
Description:
Busy now, please try again later.
final UNACCEPTABLE_OPERATIONS
static final PipelineError UNACCEPTABLE_OPERATIONS = new PipelineError("DJIPipelineError: TResource occupied, please select another ID connection." , -10010 )
Description:
Resource occupied, please select another ID connection.
final CLOSED
static final PipelineError CLOSED = new PipelineError("DJIPipelineError: Connection closed, no need to call again." , -10011 )
Description:
Connection closed, no need to call again.
final CONNECTING
static final PipelineError CONNECTING = new PipelineError("DJIPipelineError: Connecting, no need to call again." , -10012 )
Description:
Connecting, no need to call again.
final RESOURCES_NOT_AVAILABLE
static final PipelineError RESOURCES_NOT_AVAILABLE = new PipelineError("DJIPipelineError: Local resources are ineffective and unavailable. Please recreate." , -10013 )
Description:
Local resources are ineffective and unavailable. Please recreate.
final CLOSING
static final PipelineError CLOSING = new PipelineError("DJIPipelineError: Connection closing, no need to call again." , -10014 )
Description:
Connection closing, no need to call again.
final NOT_CONNECTED
static final PipelineError NOT_CONNECTED = new PipelineError("DJIPipelineError: Connection has not established." , -10015 )
Description:
Connection has not established.
final LINK_BREAK
static final PipelineError LINK_BREAK = new PipelineError("DJIPipelineError: Link broken, please check the connection with the aircraft." , -10016 )
Description:
Link broken, please check the connection with the aircraft.
final CONNECTION_REFUSED
static final PipelineError CONNECTION_REFUSED = new PipelineError("DJIPipelineError: The target device refuses to connect." , -10017 )
Description:
The target device refuses to connect.
final ID_OCCUPIED
static final PipelineError ID_OCCUPIED = new PipelineError("DJIPipelineError: Duplicated binding is not allowed. Please try to bind with a new ID." , -10018 )
Description:
Duplicated binding is not allowed. Please try to bind with a new ID.
final INTERNAL_STATUS_ERROR
static final PipelineError INTERNAL_STATUS_ERROR = new PipelineError("DJIPipelineError: Internal status error. Please recreate the Pipeline object." , -10019 )
Description:
Internal status error. Please recreate the Pipeline object.
method getDJIError
static PipelineError getDJIError (int code)
Description:
Get the object of PipelineError
error information by error code.
int code An int value of the error code.
Return:
Inherited Methods:
dji.common.error.DJIError
method
method getDJIError
static DJIError getDJIError (int errorCode)
Description:
Returns the specific error in the DJIFlightHubError
according to the error code.
Return:
static DJIError An NSError object initialized with errorCode. If the errorCode was 0, returns nil.
method getDJIError
static DJIError getDJIError (int errorCode)
Description:
Get DJIUTMISSError.
int errorCode An int value of error code.
Return:
method getDescription
Description:
Returns the description of the error code.
Return:
String The description of the error code.
method setDescription
void setDescription (String desc)
Description:
Sets the description for the error code.
String desc Description string.