Class SensorLimitedRecording

java.lang.Object
com.blukii.sdk.config.datatype.SensorLimitedRecording

public final class SensorLimitedRecording extends Object
This class represents data type SensorLimitedRecording
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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.
     
    int
    Validates the values contained in this object.

    Methods inherited from class java.lang.Object

    getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object