Interface LXMidiTerminal

All Known Subinterfaces:
LXMidiDestination, LXMidiSource
All Known Implementing Classes:
LXMidiDevice, LXMidiInput, LXMidiOutput

public interface LXMidiTerminal
Base level abstraction for a Midi object, which can be a source or destination either of the real hardware variety (subclasses of LXMidiDevice) or of a virtual variety, such as those in the LXMidiSource and LXMidiDestination interfaces
  • Method Summary

    Modifier and Type
    Method
    Description
    default LXMidiDevice
    Retrieves the midi device associated with the terminal, if there is one.
    default String
    Returns the midi terminal name
  • Method Details

    • getMidiDevice

      default LXMidiDevice getMidiDevice()
      Retrieves the midi device associated with the terminal, if there is one. May be null if this is a virtual terminal, like LXMidiSource.UNKNOWN
      Returns:
      Midi device, if available
    • getName

      default String getName()
      Returns the midi terminal name
      Returns:
      Name