Interface Source

  • All Superinterfaces:
    Item

    public interface Source
    extends Item
    Source. This could be the iTunes library or an iPod.
    Author:
    Hendrik Schreiber
    • Method Detail

      • getPlaylist

        Playlist getPlaylist​(long persistentId)
        Gets the playlist of this source with the specified persistent id.
        Parameters:
        persistentId - persistent id
        Returns:
        playlist or null, if not found
      • getPlaylist

        Playlist getPlaylist​(String persistentId)
        Gets the playlist of this source with the specified persistent id.
        Parameters:
        persistentId - persistent id
        Returns:
        playlist or null, if not found
      • getPlaylists

        Playlist[] getPlaylists()
        Gets all playlists of this source.
        Returns:
        playlists