Interface SoundPlaybackListener

All Superinterfaces:
EventListener

public interface SoundPlaybackListener extends EventListener
Diese EventListener-Implementierung bietet Callbacks an, die darĂ¼ber informiert, wenn eine Playback Instanz abgebrochen oder beendet wird.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    This method gets called when a SoundPlayback is cancelled.
    default void
    This method gets called when a SoundPlayback is finished.
  • Method Details

    • cancelled

      default void cancelled(SoundEvent event)
      This method gets called when a SoundPlayback is cancelled.
      Parameters:
      event - a SoundEvent object describing the event source and the related Sound.
    • finished

      default void finished(SoundEvent event)
      This method gets called when a SoundPlayback is finished.
      Parameters:
      event - a SoundEvent object describing the event source and the related Sound.