public abstract class MidiDeviceProvider extends Object
| Constructor and Description |
|---|
MidiDeviceProvider()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract MidiDevice |
getDevice(MidiDevice.Info info)
Get the
MidiDevice from the specified information |
abstract MidiDevice.Info[] |
getDeviceInfo()
Get the all of
MidiDevice.Info |
boolean |
isDeviceSupported(MidiDevice.Info info)
Check if the specified Device is supported
|
@Nullable public abstract MidiDevice getDevice(@NonNull MidiDevice.Info info) throws IllegalArgumentException
MidiDevice from the specified informationinfo - the informationIllegalArgumentException@NonNull public abstract MidiDevice.Info[] getDeviceInfo()
MidiDevice.InfoMidiDevice.Infopublic boolean isDeviceSupported(@NonNull MidiDevice.Info info)
info - the information