Interface AlbumArtListener


  • public interface AlbumArtListener

    The listener interface for receiving updates when the album art available for a track loaded in any player changes.

    Classes that are interested having up-to-date information about album art for loaded tracks can implement this interface, and then pass the implementing instance to ArtFinder.addAlbumArtListener(AlbumArtListener). Then, whenever a player loads a new track (or the set of available album art changes, so we know more or less about tracks in any loaded player), albumArtChanged(AlbumArtUpdate) will be called, with the currently available album art for the track (if any) loaded in the player.

    Author:
    James Elliott
    • Method Detail

      • albumArtChanged

        void albumArtChanged​(AlbumArtUpdate update)
        Called when the album art available for a player has changed.
        Parameters:
        update - provides information about what has changed