FileDocCategorySizeDatePackage
MidiDeviceProvider.javaAPI DocAndroid 1.5 API1364Wed May 06 22:41:02 BST 2009javax.sound.midi.spi

MidiDeviceProvider

public abstract class MidiDeviceProvider extends Object

Fields Summary
Constructors Summary
Methods Summary
public abstract javax.sound.midi.MidiDevicegetDevice(javax.sound.midi.MidiDevice.Info info)

public abstract javax.sound.midi.MidiDevice.Info[]getDeviceInfo()

public booleanisDeviceSupported(javax.sound.midi.MidiDevice.Info info)

        MidiDevice.Info[] devices = getDeviceInfo();
        for (Info element : devices) {
            if (info.equals(element)) {
                return true;
            }
        }
        return false;