public class CoreMidiDeviceInfo extends MidiDevice.Info
| Modifier and Type | Field and Description |
|---|---|
private String |
deviceName |
private int |
deviceReference |
private int |
deviceUniqueID |
private String |
endPointName |
private int |
endPointReference |
private int |
endPointUniqueID |
private String |
entityName |
private int |
entityReference |
private int |
entityUniqueID |
| Constructor and Description |
|---|
CoreMidiDeviceInfo(String name,
String vendor,
String description,
String version,
String deviceName,
int deviceReference,
int deviceUniqueID,
String entityName,
int entityReference,
int entityUniqueID,
String endPointName,
int endPointReference,
int endPointUniqueID)
Constructs a CoreMidiDeviceInfo object from the parameters
|
| Modifier and Type | Method and Description |
|---|---|
private static String |
defaultForNull(String value,
String fallback)
Substitutes a default value if the value is null
|
String |
getDeviceName()
Gets the device name
|
int |
getDeviceReference()
Gets the deviceReference value
|
int |
getdeviceUniqueID()
Gets the OS X unique identifier for the device
|
String |
getEndPointName()
Gets the endPoint name
|
int |
getEndPointReference()
Gets the endPointReference value
|
int |
getEndPointUniqueID()
Gets the OS X unique identifier for the end point
|
String |
getEntityName()
Gets the entity name
|
int |
getEntityReference()
Gets the entityReference value
|
int |
getEntityUniqueID()
Gets the OS X unique identifier for the entity
|
String |
getInformationString()
Gets a string describing the device
|
int |
getUniqueID()
Deprecated.
|
equals, getDescription, getName, getVendor, getVersion, hashCode, toStringprivate final String deviceName
private final int deviceReference
private final int deviceUniqueID
private final String entityName
private final int entityReference
private final int entityUniqueID
private final String endPointName
private final int endPointReference
private final int endPointUniqueID
public CoreMidiDeviceInfo(String name, String vendor, String description, String version, String deviceName, int deviceReference, int deviceUniqueID, String entityName, int entityReference, int entityUniqueID, String endPointName, int endPointReference, int endPointUniqueID)
name - The name of the devicevendor - The manufacturer of the devicedescription - A description of the deviceversion - The version number of the device driverdeviceName - The raw name of the devicedeviceReference - The device referencedeviceUniqueID - The OS X unique identifier for the deviceentityName - The raw name of the entityentityReference - The entity referenceentityUniqueID - The OS X unique identifier for the entityendPointName - The raw name of the end pointendPointReference - The end point referenceendPointUniqueID - The OS X unique identifier for the end pointprivate static String defaultForNull(String value, String fallback)
value - The value which may be nullfallback - The value to use if value is nullpublic String getInformationString()
public String getEndPointName()
public int getEndPointReference()
public int getEndPointUniqueID()
@Deprecated public int getUniqueID()
public String getEntityName()
public int getEntityReference()
public int getEntityUniqueID()
public String getDeviceName()
public int getDeviceReference()
public int getdeviceUniqueID()
Copyright © 2017. All rights reserved.