Class CoreMidiDeviceInfo
- java.lang.Object
-
- javax.sound.midi.MidiDevice.Info
-
- uk.co.xfactorylibrarians.coremidi4j.CoreMidiDeviceInfo
-
public class CoreMidiDeviceInfo extends MidiDevice.Info
Provides information about a MIDI device which is implemented by CoreMidi4J.
-
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDeviceName()
Gets the device nameint
getDeviceReference()
Gets the deviceReference valueint
getdeviceUniqueID()
Gets the OS X unique identifier for the deviceString
getEndPointName()
Gets the endPoint nameint
getEndPointReference()
Gets the endPointReference valueint
getEndPointUniqueID()
Gets the OS X unique identifier for the end pointString
getEntityName()
Gets the entity nameint
getEntityReference()
Gets the entityReference valueint
getEntityUniqueID()
Gets the OS X unique identifier for the entityString
getInformationString()
Gets a string describing the device-
Methods inherited from class javax.sound.midi.MidiDevice.Info
equals, getDescription, getName, getVendor, getVersion, hashCode, toString
-
-
-
-
Constructor Detail
-
CoreMidiDeviceInfo
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)
Constructs a CoreMidiDeviceInfo object from the parameters- Parameters:
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 point
-
-
Method Detail
-
getInformationString
public String getInformationString()
Gets a string describing the device- Returns:
- A string describing the device
-
getEndPointName
public String getEndPointName()
Gets the endPoint name- Returns:
- the endPoint name
-
getEndPointReference
public int getEndPointReference()
Gets the endPointReference value- Returns:
- the endPointReference value
-
getEndPointUniqueID
public int getEndPointUniqueID()
Gets the OS X unique identifier for the end point- Returns:
- The OS X unique identifier for the end point
-
getEntityName
public String getEntityName()
Gets the entity name- Returns:
- the entity name
-
getEntityReference
public int getEntityReference()
Gets the entityReference value- Returns:
- the entityReference value
-
getEntityUniqueID
public int getEntityUniqueID()
Gets the OS X unique identifier for the entity- Returns:
- The OS X unique identifier for the entity
-
getDeviceName
public String getDeviceName()
Gets the device name- Returns:
- the device name
-
getDeviceReference
public int getDeviceReference()
Gets the deviceReference value- Returns:
- the deviceReference value
-
getdeviceUniqueID
public int getdeviceUniqueID()
Gets the OS X unique identifier for the device- Returns:
- The OS X unique identifier for the device
-
-