javax.sound.midi
Interface MetaEventListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener

public interface MetaEventListener
extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener

The MetaEventListener interface should be implemented by classes whose instances need to be notified when a Sequencer sample code for javax.sound.midi.Sequencer definition code for javax.sound.midi.Sequencer has processed a MetaMessage sample code for javax.sound.midi.MetaMessage definition code for javax.sound.midi.MetaMessage . To register a MetaEventListener object to receive such notifications, pass it as the argument to the addMetaEventListener sample code for javax.sound.midi.Sequencer.addMetaEventListener(javax.sound.midi.MetaEventListener) definition code for javax.sound.midi.Sequencer.addMetaEventListener(javax.sound.midi.MetaEventListener) method of Sequencer.


Method Summary
 void meta sample code for javax.sound.midi.MetaEventListener.meta(javax.sound.midi.MetaMessage) definition code for javax.sound.midi.MetaEventListener.meta(javax.sound.midi.MetaMessage) (MetaMessage sample code for javax.sound.midi.MetaMessage definition code for javax.sound.midi.MetaMessage  meta)
          Invoked when a Sequencer sample code for javax.sound.midi.Sequencer definition code for javax.sound.midi.Sequencer has encountered and processed a MetaMessage in the Sequence sample code for javax.sound.midi.Sequence definition code for javax.sound.midi.Sequence it is processing.
 

Method Detail

meta sample code for javax.sound.midi.MetaEventListener.meta(javax.sound.midi.MetaMessage) definition code for javax.sound.midi.MetaEventListener.meta(javax.sound.midi.MetaMessage)

void meta(MetaMessage sample code for javax.sound.midi.MetaMessage definition code for javax.sound.midi.MetaMessage  meta)
Invoked when a Sequencer sample code for javax.sound.midi.Sequencer definition code for javax.sound.midi.Sequencer has encountered and processed a MetaMessage in the Sequence sample code for javax.sound.midi.Sequence definition code for javax.sound.midi.Sequence it is processing.

Parameters:
meta - the meta-message that the sequencer encountered