## Uses of Interface
javax.sound.midi.Receiver

- Packages that use Receiver
  Package | Description
  --- | ---
  javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.

- - ### Uses of Receiver in javax.sound.midi

    Methods in javax.sound.midi that return Receiver
    Modifier and Type | Method and Description
    --- | ---
    `Receiver` | Transmitter.`getReceiver()` Obtains the current receiver to which this transmitter will deliver MIDI messages.
    `static Receiver` | MidiSystem.`getReceiver()` Obtains a MIDI receiver from an external MIDI port or other default device.
    `Receiver` | MidiDevice.`getReceiver()` Obtains a MIDI IN receiver through which the MIDI device may receive MIDI data.

    Methods in javax.sound.midi that return types with arguments of type Receiver
    Modifier and Type | Method and Description
    --- | ---
    `List<Receiver>` | MidiDevice.`getReceivers()` Returns all currently active, non-closed receivers connected with this MidiDevice.

    Methods in javax.sound.midi with parameters of type Receiver
    Modifier and Type | Method and Description
    --- | ---
    `void` | Transmitter.`setReceiver(Receiver receiver)` Sets the receiver to which this transmitter will deliver MIDI messages.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.