Interface AudioLoadResultHandler

  • All Known Implementing Classes:
    FunctionalResultHandler

    public interface AudioLoadResultHandler
    Handles the result of loading an item from an audio player manager.
    • Method Detail

      • trackLoaded

        void trackLoaded​(AudioTrack track)
        Called when the requested item is a track and it was successfully loaded.
        Parameters:
        track - The loaded track
      • playlistLoaded

        void playlistLoaded​(AudioPlaylist playlist)
        Called when the requested item is a playlist and it was successfully loaded.
        Parameters:
        playlist - The loaded playlist
      • noMatches

        void noMatches()
        Called when there were no items found by the specified identifier.
      • loadFailed

        void loadFailed​(FriendlyException exception)
        Called when loading an item failed with an exception.
        Parameters:
        exception - The exception that was thrown