Package com.blukii.sdk.config.datatype
Class SensorLimitedRecording
java.lang.Object
com.blukii.sdk.config.datatype.SensorLimitedRecording
This class represents data type
SensorLimitedRecording
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the limited number of recordings that can be recorded until timeout.int
Gets the time span for counting the limited recordings.void
setMaxCount
(int maxCount) Sets the limited number of recordings that can be recorded until timeout.void
setTimespan
(int timespan) Sets the time span for counting the limited recordings.toString()
int
validate()
Validates the values contained in this object.
-
Constructor Details
-
SensorLimitedRecording
public SensorLimitedRecording()
-
-
Method Details
-
getMaxCount
public int getMaxCount()Gets the limited number of recordings that can be recorded until timeout.- Returns:
- max count
-
setMaxCount
public void setMaxCount(int maxCount) Sets the limited number of recordings that can be recorded until timeout.- Parameters:
maxCount
- max count
-
getTimespan
public int getTimespan()Gets the time span for counting the limited recordings.- Returns:
- time span
-
setTimespan
public void setTimespan(int timespan) Sets the time span for counting the limited recordings.- Parameters:
timespan
- time span
-
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
-
equals
-
toString
-