com.qualcomm.robotcore.hardware

## Class Blinker.Step

- java.lang.Object
- - com.qualcomm.robotcore.hardware.Blinker.Step

- Enclosing interface:
    Blinker

      public static class Blinker.Step
      extends java.lang.Object

  `Blinker.Step` represents a particular color held for a particular length of time.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected int` | `color`
    `protected int` | `msDuration`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Step()`
    `Step(int color, long duration, java.util.concurrent.TimeUnit unit)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Blinker.Step step)`
    `boolean` | `equals(java.lang.Object them)`
    `int` | `getColor()`
    `int` | `getDurationMs()`
    `int` | `hashCode()`
    `boolean` | `isLit()`
    `static Blinker.Step` | `nullStep()`
    `void` | `setColor(int color)`
    `void` | `setDuration(long duration, java.util.concurrent.TimeUnit unit)`
    `void` | `setLit(boolean isEnabled)`

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

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

- - ### Field Detail

    - #### color

          protected int color

    - #### msDuration

          protected int msDuration

  - ### Constructor Detail

    - #### Step

          public Step()

    - #### Step

          public Step(int color,
                      long duration,
                      java.util.concurrent.TimeUnit unit)

  - ### Method Detail

    - #### nullStep

          public static Blinker.Step nullStep()

    - #### equals

          public boolean equals(java.lang.Object them)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### equals

          public boolean equals(Blinker.Step step)

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### isLit

          public boolean isLit()

    - #### setLit

          public void setLit(boolean isEnabled)

    - #### getColor

          public int getColor()

    - #### setColor

          public void setColor(int color)

    - #### getDurationMs

          public int getDurationMs()

    - #### setDuration

          public void setDuration(long duration,
                                  java.util.concurrent.TimeUnit unit)