Class TrackExceptionEvent


  • public class TrackExceptionEvent
    extends AudioEvent
    Event that is fired when an exception occurs in an audio track that causes it to halt or not start.
    • Field Detail

      • track

        public final AudioTrack track
        Audio track where the exception occurred
    • Constructor Detail

      • TrackExceptionEvent

        public TrackExceptionEvent​(AudioPlayer player,
                                   AudioTrack track,
                                   FriendlyException exception)
        Parameters:
        player - Audio player
        track - Audio track where the exception occurred
        exception - The exception that occurred