Enum Constant and Description |
---|
BLE
The authenticator supports communication via Bluetooth Low Energy (BLE).
|
BT_CLASSIC
The authenticator supports communication via classic Bluetooth.
|
NFC
The authenticator supports communication via Near Field Communication (NFC).
|
USB
The authenticator supports communication via USB.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Transport> |
fromInt(int bits) |
static int |
toInt(java.lang.Iterable<Transport> transports) |
static int |
toInt(Transport... transports) |
static Transport |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport BT_CLASSIC
public static final Transport BLE
public static final Transport USB
public static final Transport NFC
public static Transport[] values()
for (Transport c : Transport.values()) System.out.println(c);
public static Transport valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Set<Transport> fromInt(int bits)
public static int toInt(java.lang.Iterable<Transport> transports)
public static int toInt(Transport... transports)