public static enum SystemInfo.BoardType extends Enum<SystemInfo.BoardType>
| Enum Constant and Description |
|---|
Compute_Module_Rev1 |
Model2B_Rev1 |
ModelA_Plus_Rev1 |
ModelA_Rev1 |
ModelB_Plus_Rev1 |
ModelB_Rev1 |
ModelB_Rev2 |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static SystemInfo.BoardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemInfo.BoardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemInfo.BoardType UNKNOWN
public static final SystemInfo.BoardType ModelA_Rev1
public static final SystemInfo.BoardType ModelA_Plus_Rev1
public static final SystemInfo.BoardType ModelB_Rev1
public static final SystemInfo.BoardType ModelB_Rev2
public static final SystemInfo.BoardType ModelB_Plus_Rev1
public static final SystemInfo.BoardType Compute_Module_Rev1
public static final SystemInfo.BoardType Model2B_Rev1
public static SystemInfo.BoardType[] values()
for (SystemInfo.BoardType c : SystemInfo.BoardType.values()) System.out.println(c);
public static SystemInfo.BoardType 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 nullCopyright © 2012–2019 Pi4J. All rights reserved.