public enum XBeeLocalInterface extends Enum<XBeeLocalInterface>
| Enum Constant and Description |
|---|
BLUETOOTH |
MICROPYTHON |
SERIAL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static XBeeLocalInterface |
get(int id)
Retrieves the
XBeeLocalInterface for the given ID code. |
String |
getDescription()
Retrieves the
XBeeLocalInterface description. |
int |
getID()
Retrieves the
XBeeLocalInterface ID code. |
static XBeeLocalInterface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XBeeLocalInterface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XBeeLocalInterface BLUETOOTH
public static final XBeeLocalInterface MICROPYTHON
public static final XBeeLocalInterface SERIAL
public static final XBeeLocalInterface UNKNOWN
public static XBeeLocalInterface get(int id)
XBeeLocalInterface for the given ID code.id - ID code to retrieve the XBeeLocalInterface.XBeeLocalInterface associated with the given ID code,
UNKNOWN if there is not any XBee local interface
associated to the provided ID.public String getDescription()
XBeeLocalInterface description.XBeeLocalInterface description.public int getID()
XBeeLocalInterface ID code.XBeeLocalInterface ID code.public static XBeeLocalInterface 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 nullpublic static XBeeLocalInterface[] values()
for (XBeeLocalInterface c : XBeeLocalInterface.values()) System.out.println(c);
© Copyright 2014 - 2019 Digi International Inc. All rights reserved.