public static class MidiManager.DeviceCallback extends Object
Constructor and Description |
---|
DeviceCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onDeviceAdded(MidiDeviceInfo device)
Called to notify when a new MIDI device has been added
|
void |
onDeviceRemoved(MidiDeviceInfo device)
Called to notify when a MIDI device has been removed
|
void |
onDeviceStatusChanged(MidiDeviceStatus status)
Called to notify when the status of a MIDI device has changed
|
public void onDeviceAdded(MidiDeviceInfo device)
device
- a MidiDeviceInfo
for the newly added devicepublic void onDeviceRemoved(MidiDeviceInfo device)
device
- a MidiDeviceInfo
for the removed devicepublic void onDeviceStatusChanged(MidiDeviceStatus status)
status
- a MidiDeviceStatus
for the changed device