Interface SettableBooleanValue

All Superinterfaces:
BooleanSupplier, BooleanValue, HardwareActionBindable, HardwareBindable, Subscribable, Value<BooleanValueChangedCallback>
All Known Subinterfaces:
SoloValue

public interface SettableBooleanValue extends BooleanValue, HardwareActionBindable
Instances of this interface represent boolean values.
Since:
API version 1
  • Method Details

    • set

      void set(boolean value)
      Sets the internal value.
      Parameters:
      value - the new boolean value.
      Since:
      API version 1
    • toggle

      void toggle()
      Toggles the current state. In case the current value is `false`, the new value will be `true` and the other way round.
      Since:
      API version 1
    • toggleAction

      HardwareActionBindable toggleAction()
    • setToTrueAction

      HardwareActionBindable setToTrueAction()
    • setToFalseAction

      HardwareActionBindable setToFalseAction()