public static enum SerialPort.BaudRate extends Enum<SerialPort.BaudRate>
Enum Constant and Description |
---|
B0
Not available in Windows
|
B110 |
B115200 |
B1200 |
B134
Not available in Windows
|
B150
Not available in Windows
|
B1800
Not available in Windows
|
B19200 |
B200 |
B2400 |
B300 |
B38400 |
B4800 |
B50
Not available in Windows
|
B600 |
B75
Not available in Windows
|
B9600 |
Modifier and Type | Method and Description |
---|---|
int |
getBaudRate() |
static SerialPort.BaudRate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.BaudRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialPort.BaudRate B0
public static final SerialPort.BaudRate B50
public static final SerialPort.BaudRate B75
public static final SerialPort.BaudRate B110
public static final SerialPort.BaudRate B134
public static final SerialPort.BaudRate B150
public static final SerialPort.BaudRate B200
public static final SerialPort.BaudRate B300
public static final SerialPort.BaudRate B600
public static final SerialPort.BaudRate B1200
public static final SerialPort.BaudRate B1800
public static final SerialPort.BaudRate B2400
public static final SerialPort.BaudRate B4800
public static final SerialPort.BaudRate B9600
public static final SerialPort.BaudRate B19200
public static final SerialPort.BaudRate B38400
public static final SerialPort.BaudRate B115200
public static SerialPort.BaudRate[] values()
for (SerialPort.BaudRate c : SerialPort.BaudRate.values()) System.out.println(c);
public static SerialPort.BaudRate 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 int getBaudRate()
Copyright © 2020. All rights reserved.