| Package | Description |
|---|---|
| li.rudin.arduino.api | |
| li.rudin.arduino.api.cdi | |
| li.rudin.arduino.api.listener | |
| li.rudin.arduino.api.state |
| Modifier and Type | Method and Description |
|---|---|
ConnectionState |
Arduino.getCurrentState()
Returns the current state
|
ConnectionState |
Arduino.getTargetState()
Returns the targeted state
|
| Modifier and Type | Method and Description |
|---|---|
void |
Arduino.setTargetState(ConnectionState state)
Sets the target state
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionState |
StateChangeEvent.getCurrentState() |
ConnectionState |
StateChangeEvent.getPreviousState() |
| Constructor and Description |
|---|
StateChangeEvent(ConnectionState previous,
ConnectionState current) |
| Modifier and Type | Method and Description |
|---|---|
void |
ArduinoListener.onStateChange(ConnectionState currentState,
ConnectionState targetState)
Invoked on state change
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionState |
ConnectionState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionState[] |
ConnectionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2015. All Rights Reserved.