Enum Class Limelight.SharedMapState
- All Implemented Interfaces:
Serializable, Comparable<Limelight.SharedMapState>, Constable
- Enclosing class:
Limelight
Shared field map state reported by the camera.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe shared map is in use.No shared map published.The published map failed to parse or was too large.The camera reported a state this library does not know. -
Method Summary
Modifier and TypeMethodDescriptionstatic Limelight.SharedMapStateReturns the enum constant of this class with the specified name.static Limelight.SharedMapState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFF
No shared map published. -
ACTIVE
The shared map is in use. -
PARSE_ERROR
The published map failed to parse or was too large. -
UNKNOWN
The camera reported a state this library does not know.
-
-
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
-