Package com.ctre.phoenix
Enum Class GadgeteerUartClient.GadgeteerConnection
java.lang.Object
java.lang.Enum<GadgeteerUartClient.GadgeteerConnection>
com.ctre.phoenix.GadgeteerUartClient.GadgeteerConnection
- All Implemented Interfaces:
Serializable
,Comparable<GadgeteerUartClient.GadgeteerConnection>
,Constable
- Enclosing interface:
- GadgeteerUartClient
public static enum GadgeteerUartClient.GadgeteerConnection
extends Enum<GadgeteerUartClient.GadgeteerConnection>
Method of connection to gadgeteer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDevice is connectedDevice in process of connectingDevice not connectedDevice unknown -
Method Summary
-
Enum Constant Details
-
NotConnected
Device not connected -
Connecting
Device in process of connecting -
Connected
Device is connected -
Unknown
Device unknown
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Get GadgeteerConnection of specified value- Parameters:
value
- Value of GadgeteerConnection- Returns:
- GadgeteerConnection of specified value
-