public static final class MidiDeviceInfo.PortInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_INPUT
Port type for input ports
|
static int |
TYPE_OUTPUT
Port type for output ports
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the port, or empty string if the port has no name
|
int |
getPortNumber()
Returns the port number of the port
|
int |
getType()
Returns the port type of the port (either
TYPE_INPUT or TYPE_OUTPUT ) |
public static final int TYPE_INPUT
public static final int TYPE_OUTPUT
public int getType()
TYPE_INPUT
or TYPE_OUTPUT
)public int getPortNumber()
public String getName()