public interface SoundPlaybackListener
extends java.util.EventListener
SoundPlayback
instance gets cancelled or finished.Modifier and Type | Method and Description |
---|---|
default void |
cancelled(SoundEvent event)
This method gets called when a
SoundPlayback is cancelled. |
default void |
finished(SoundEvent event)
This method gets called when a
SoundPlayback is finished. |
default void cancelled(SoundEvent event)
SoundPlayback
is cancelled.event
- a SoundEvent
object describing the
event source and the related Sound
.default void finished(SoundEvent event)
SoundPlayback
is finished.event
- a SoundEvent
object describing the
event source and the related Sound
.