Package com.tagtraum.tunes
Interface Source
-
- All Superinterfaces:
Item
public interface Source extends Item
Source. This could be the iTunes library or an iPod.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Playlist
getPlaylist(long persistentId)
Gets the playlist of this source with the specified persistent id.Playlist
getPlaylist(String persistentId)
Gets the playlist of this source with the specified persistent id.Playlist[]
getPlaylists()
Gets all playlists of this source.
-
-
-
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
-
-