Package com.qualcomm.robotcore.hardware
Enum HardwareDevice.Manufacturer
- java.lang.Object
-
- java.lang.Enum<HardwareDevice.Manufacturer>
-
- com.qualcomm.robotcore.hardware.HardwareDevice.Manufacturer
-
- All Implemented Interfaces:
Serializable
,Comparable<HardwareDevice.Manufacturer>
- Enclosing interface:
- HardwareDevice
public static enum HardwareDevice.Manufacturer extends Enum<HardwareDevice.Manufacturer>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HardwareDevice.Manufacturer
valueOf(String name)
Returns the enum constant of this type with the specified name.static HardwareDevice.Manufacturer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final HardwareDevice.Manufacturer Unknown
-
Other
public static final HardwareDevice.Manufacturer Other
-
Lego
public static final HardwareDevice.Manufacturer Lego
-
HiTechnic
public static final HardwareDevice.Manufacturer HiTechnic
-
ModernRobotics
public static final HardwareDevice.Manufacturer ModernRobotics
-
Adafruit
public static final HardwareDevice.Manufacturer Adafruit
-
Matrix
public static final HardwareDevice.Manufacturer Matrix
-
Lynx
public static final HardwareDevice.Manufacturer Lynx
-
AMS
public static final HardwareDevice.Manufacturer AMS
-
STMicroelectronics
public static final HardwareDevice.Manufacturer STMicroelectronics
-
Broadcom
public static final HardwareDevice.Manufacturer Broadcom
-
DFRobot
public static final HardwareDevice.Manufacturer DFRobot
-
-
Method Detail
-
values
public static HardwareDevice.Manufacturer[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HardwareDevice.Manufacturer c : HardwareDevice.Manufacturer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HardwareDevice.Manufacturer valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-