Uses of Interface javax.sound.midi.Receiver (Java Platform SE 8 )
Date: 2015-11-18

## 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

    Subinterfaces of Receiver in javax.sound.midi
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MidiDeviceReceiver` `MidiDeviceReceiver` is a `Receiver` which represents a MIDI input connector of a `MidiDevice` (see `MidiDevice.getReceiver()`).

    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.
    `Receiver` | MidiDevice.`getReceiver()` Obtains a MIDI IN receiver through which the MIDI device may receive MIDI data.
    `static Receiver` | MidiSystem.`getReceiver()` Obtains a MIDI receiver from an external MIDI port or other default device.

    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, 2015, Oracle and/or its affiliates. All rights reserved.