public class StatusLed
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StatusLed.Color
Usable status led colors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
blink(int[] sample,
int iteration)
Starts a led blinking or buzzer beeping background task.
|
void |
blink(StatusLed.Color color,
int[] sample,
int iteration)
Starts a led blinking or buzzer beeping background task.
|
StatusLed.Color |
getLight()
Returns the led type.
|
void |
turn()
Sets the led state.
|
void |
turn(StatusLed.Color color)
Sets the led state.
|
public StatusLed.Color getLight()
public void turn(StatusLed.Color color) throws General
color - StatusLed.Color to switch to.Generalpublic void blink(StatusLed.Color color, int[] sample, int iteration) throws General
color - The StatusLed.Color to blink.sample - Durations of ON and OFF states in milliseconds.iteration - Number of repetitions (0 stands for infinite).GeneralARH Passport Reader v 2.2.0.17 / 2017 July 19 14:58