com.unitech.lib.params

## Class DeviceIndicator

- java.lang.Object
- - com.unitech.lib.params.DeviceIndicator

-     public class DeviceIndicator
      extends Object

  Represents the device indicators such as LED, vibrator, and beeper. This class encapsulates the state of these indicators and provides methods to encode and decode their values.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DeviceIndicator()`
    `DeviceIndicator(LEDIndicator led, boolean vibrator, BeepIndicator beeper)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DeviceIndicator` | `decode(byte value)`
    `byte` | `encode()`
    `BeepIndicator` | `getBeeper()`
    `LEDIndicator` | `getLed()`
    `boolean` | `isVibrator()`
    `void` | `setBeeper(BeepIndicator beeper)`
    `void` | `setLed(LEDIndicator led)`
    `void` | `setVibrator(boolean vibrator)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DeviceIndicator

          public DeviceIndicator()

    - #### DeviceIndicator

          public DeviceIndicator(LEDIndicator led,
                                 boolean vibrator,
                                 BeepIndicator beeper)

  - ### Method Detail

    - #### getLed

          public LEDIndicator getLed()

    - #### setLed

          public void setLed(LEDIndicator led)

    - #### isVibrator

          public boolean isVibrator()

    - #### setVibrator

          public void setVibrator(boolean vibrator)

    - #### getBeeper

          public BeepIndicator getBeeper()

    - #### setBeeper

          public void setBeeper(BeepIndicator beeper)

    - #### encode

          public byte encode()

    - #### decode

          public static DeviceIndicator decode(byte value)