CalibrationEventType¶
-
public class
CalibrationEventType
¶ This class identifies the possible event types of a
CalibrationEvent
.Every type gives full information of what happened, divided by priority, and with an user-friendly description.
Every possible event is already created and is reused to improve performance. The objects can be compared directly.
See also:
CalibrationEvent
Fields¶
CALIBRATION_DELETED¶
-
public static final CalibrationInfoEventType
CALIBRATION_DELETED
¶ A calibration deleted event. Calibration was deleted successfully.
CALIBRATION_DONE¶
-
public static final CalibrationInfoEventType
CALIBRATION_DONE
¶ A calibration done event. Calibration was completed successfully.
CALIBRATION_FAILED¶
-
public static final CalibrationErrorEventType
CALIBRATION_FAILED
¶ A calibration failed event. The remote device reported that the calibration operation failed or the connection was lost before the operation ended.
CALIBRATION_INVALID_RESPONSE¶
-
public static final CalibrationErrorEventType
CALIBRATION_INVALID_RESPONSE
¶ A invalid response error event. The remote device sent an invalid data packet.
CALIBRATION_INVALID_STATE¶
-
public static final CalibrationErrorEventType
CALIBRATION_INVALID_STATE
¶ A invalid state error event. The remote device sent a calibration data packet out-of-sync.
CALIBRATION_STOPPED¶
-
public static final CalibrationInfoEventType
CALIBRATION_STOPPED
¶ A calibration stopped event. Calibration was stopped before finishing.
CALIBRATION_TIMEOUT¶
-
public static final CalibrationErrorEventType
CALIBRATION_TIMEOUT
¶ A calibration timeout error event. The remote device took too long to respond.
type¶
-
public final int
type
¶ Event type. Can be
TYPE_INFO
orTYPE_ERROR