Search code examples
javafxjavafx-8

Is there a Listener for the ending of playback of JavaFX AudioClip?


Is there a Listener for the ending of playback of JavaFX AudioClip?

I don't see anything listed in the API. With a classic javax.sound.sampled.Clip, we can employ a LineListener.

I see that there is an isPlaying() method. But it would only be as accurate as the rate at which one monitors.


Solution

  • Looks like the answer is "No".

    Thanks to @Slaw for having taken the time to provide this in a comment.