public interface PincodeTerminal
| Modifier and Type | Field and Description |
|---|---|
static int |
GREEN_LED |
static int |
RED_LED |
| Modifier and Type | Method and Description |
|---|---|
void |
lightLED(int color,
int time)
Turns on LED for lightTime seconds.
|
void |
registerObserver(PincodeObserver observer)
Registers a new observer to call when a user has pressed a key.
|
static final int RED_LED
static final int GREEN_LED
void lightLED(int color,
int time)
color - PinCodeTerminal.RED_LED or PinCodeTerminal.GREEN_LEDtime - Turn on LED for time secondsvoid registerObserver(PincodeObserver observer)
observer - an observer to add