Package com.blukii.sdk.config.datatype
Class SensorPacket
java.lang.Object
com.blukii.sdk.config.datatype.SensorPacket
- Direct Known Subclasses:
SensorRecordingHeader
,SensorTransferFinish
,SensorValue
This class represents data type
SensorPacket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the recording index.Gets the sensor type.void
setRecordingIndex
(int recordingIndex) Sets the recording index.void
setSensorType
(SensorType sensorType) Sets the sensor type.toString()
int
validate()
Validates the values contained in this object.
-
Constructor Details
-
SensorPacket
public SensorPacket()
-
-
Method Details
-
getSensorType
Gets the sensor type.- Returns:
- sensor type.
-
setSensorType
Sets the sensor type.- Parameters:
sensorType
- sensor type.
-
getRecordingIndex
public int getRecordingIndex()Gets the recording index.- Returns:
- recording index.
-
setRecordingIndex
public void setRecordingIndex(int recordingIndex) Sets the recording index.- Parameters:
recordingIndex
- recording index.
-
equals
-
toString
-
validate
public int validate()Validates the values contained in this object.This can be used when you create an object, to verify the values set.
- Returns:
- a state from
Validation
-