public static enum Myo.Event extends Enum<Myo.Event>
Enum Constant and Description |
---|
ACCELEROMETER |
ARM_SYNC |
ARM_UNSYNC |
CONNECT |
DISCONNECT |
EMG |
GYROSCOPE |
LOCK |
ORIENTATION |
PAIR |
POSE |
RSSI |
UNLOCK |
UNPAIR |
Modifier and Type | Method and Description |
---|---|
static Myo.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Myo.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Myo.Event PAIR
public static final Myo.Event UNPAIR
public static final Myo.Event CONNECT
public static final Myo.Event DISCONNECT
public static final Myo.Event ARM_SYNC
public static final Myo.Event ARM_UNSYNC
public static final Myo.Event POSE
public static final Myo.Event ORIENTATION
public static final Myo.Event ACCELEROMETER
public static final Myo.Event GYROSCOPE
public static final Myo.Event RSSI
public static final Myo.Event EMG
public static final Myo.Event LOCK
public static final Myo.Event UNLOCK
public static Myo.Event[] values()
for (Myo.Event c : Myo.Event.values()) System.out.println(c);
public static Myo.Event valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullProcessing library MyoForProcessing by Darius Morawiec. (C) 2014