public static class MidiManager.DeviceCallback
extends Object
java.lang.Object | |
↳ | android.media.midi.MidiManager.DeviceCallback |
Callback class used for clients to receive MIDI device added and removed notifications
Public constructors |
|
---|---|
MidiManager.DeviceCallback() |
Public methods |
|
---|---|
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 |
Inherited methods |
|
---|---|
![]() java.lang.Object
|
void onDeviceAdded (MidiDeviceInfo device)
Called to notify when a new MIDI device has been added
Parameters | |
---|---|
device |
MidiDeviceInfo : a MidiDeviceInfo for the newly added device |
void onDeviceRemoved (MidiDeviceInfo device)
Called to notify when a MIDI device has been removed
Parameters | |
---|---|
device |
MidiDeviceInfo : a MidiDeviceInfo for the removed device |
void onDeviceStatusChanged (MidiDeviceStatus status)
Called to notify when the status of a MIDI device has changed
Parameters | |
---|---|
status |
MidiDeviceStatus : a MidiDeviceStatus for the changed device |