java.lang.Object | |||
↳ | java.util.Observable | ||
↳ | fm.audiobox.core.models.Model | ||
↳ | fm.audiobox.core.models.Playlists |
Used to get a list of all the playlist in the user's account.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PLAYLIST_BOX | The constant that identifies the "box" playlist. | |||||||||
String | PLAYLIST_CLOUD | The constant that identifies the "cloud" playlist. | |||||||||
String | PLAYLIST_CUSTOM | The constant that identifies "custom" playlists. | |||||||||
String | PLAYLIST_DROPBOX | The constant that identifies the "dropbox" playlist. | |||||||||
String | PLAYLIST_GDRIVE | The constant that identifies the "gdrive" playlist. | |||||||||
String | PLAYLIST_LOCAL | The constant that identifies the "local" playlist. | |||||||||
String | PLAYLIST_MEGA | The constant that identifies the "mega" playlist. | |||||||||
String | PLAYLIST_OFFLINE | The constant that identifies the "offline" playlist. | |||||||||
String | PLAYLIST_ONERIVE | The constant that identifies the "onedrive" playlist. | |||||||||
String | PLAYLIST_SMART | The constant that identifies "smart" playlists. | |||||||||
String | PLAYLIST_SOUNDCLOUD | The constant that identifies the "soundcloud" playlist. | |||||||||
String | PLAYLIST_YOUTUBE | The constant that identifies the "youtube" playlist. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Playlists() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static Playlist |
getBoxPlaylist(AudioBoxClient audioBoxClient)
Gets the box playlist. | ||||||||||
static Playlist |
getCloudPlaylist(AudioBoxClient audioBoxClient)
Gets the cloud playlist. | ||||||||||
static Playlist |
getDropboxPlaylist(AudioBoxClient audioBoxClient)
Gets the dropbox playlist. | ||||||||||
static Playlist |
getGdrivePlaylist(AudioBoxClient audioBoxClient)
Gets the gdrive playlist. | ||||||||||
static Playlist |
getLocalPlaylist(AudioBoxClient audioBoxClient)
Gets the local playlist. | ||||||||||
static Playlist |
getMegaPlaylist(AudioBoxClient audioBoxClient)
Gets the mega playlist . | ||||||||||
static Playlist |
getOfflinePlaylist(AudioBoxClient audioBoxClient)
Gets the offline playlist. | ||||||||||
static Playlist |
getOneDrivePlaylist(AudioBoxClient audioBoxClient)
Gets the skydrive playlist. | ||||||||||
static String |
getPath()
Gets the generic remote resource collection path.
| ||||||||||
List<Playlist> |
getPlaylists()
Gets playlists.
| ||||||||||
static Playlist |
getSoundcloudPlaylist(AudioBoxClient audioBoxClient)
Gets the soundcloud playlist. | ||||||||||
static Playlist |
getYoutubePlaylist(AudioBoxClient audioBoxClient)
Gets the youtube playlist. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.models.Model
| |||||||||||
From class
java.util.Observable
| |||||||||||
From class
java.lang.Object
|
The constant that identifies the "box" playlist.
The constant that identifies the "cloud" playlist.
The constant that identifies "custom" playlists.
The constant that identifies the "dropbox" playlist.
The constant that identifies the "gdrive" playlist.
The constant that identifies the "local" playlist.
The constant that identifies the "mega" playlist.
The constant that identifies the "offline" playlist.
The constant that identifies the "onedrive" playlist.
The constant that identifies "smart" playlists.
The constant that identifies the "soundcloud" playlist.
The constant that identifies the "youtube" playlist.
Gets the box playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the cloud playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the dropbox playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the gdrive playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the local playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the mega playlist
.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the offline playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the skydrive playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the generic remote resource collection path.
Gets the soundcloud playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |
Gets the youtube playlist.
NOTE: this method will always make a request against AudioBox, use carefully.
If you want to avoid this behavior consider storing the playlist collection
within your application and use findPlaylistByType(java.util.List, String)
in combination with the Playlists#PLAYLIST_* constants to get the right playlist from the memory.
audioBoxClient | the AudioBoxClient to use to make the request |
---|
AudioBoxException | if any of the remote error exception is detected. |
---|---|
IOException | if any connection problem occurs. |