MetaEventListener (Java Platform SE 8 )
Keywords: javax.sound.midi.MetaEventListener interface
Date: 2015-11-19

javax.sound.midi

## Interface MetaEventListener

- All Superinterfaces:
    EventListener

      public interface MetaEventListener
      extends EventListener

  The `MetaEventListener` interface should be implemented by classes whose instances need to be notified when a ``Sequencer`` has processed a ``MetaMessage``. To register a `MetaEventListener` object to receive such notifications, pass it as the argument to the ``addMetaEventListener`` method of `Sequencer`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `meta(MetaMessage meta)` Invoked when a ``Sequencer`` has encountered and processed a `MetaMessage` in the ``Sequence`` it is processing.

- - ### Method Detail

    - #### meta

          void meta(MetaMessage meta)

      Invoked when a ``Sequencer`` has encountered and processed a `MetaMessage` in the ``Sequence`` it is processing.
      Parameters:
        `meta` - the meta-message that the sequencer encountered

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.