| java.lang.Object | |||
| ↳ | java.util.Observable | ||
| ↳ | fm.audiobox.core.models.Model | ||
| ↳ | fm.audiobox.core.models.MediaFiles | ||
Used to get a list of all media files in a specific user's playlist.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | MediaFiles.MediaCollectionCustomParser | The Media collection custom parser. | |||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | JSON_TOKEN | The JSON token of the objects collection. | |||||||||
| String | PARAM_SET | The constant PARAM_SET. | |||||||||
| String | PARAM_SINCE | The constant PARAM_SINCE. | |||||||||
| String | PARAM_TOKENS | The constant PARAM_TOKENS. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected EventedModelList<MediaFile> | media_files | The parsed media files list | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MediaFiles() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static boolean |
destroyAll(AudioBoxClient audioBoxClient, List<String> tokens)
Destroy all media files identified by the tokens in the list.
| ||||||||||
| EventedModelList<MediaFile> |
getMediaFiles()
Gets playlists.
| ||||||||||
| static Collection<Object> |
newList(Object context)
This method is not intended to be used directly, it exists for parsing technical reason.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
fm.audiobox.core.models.Model
| |||||||||||
From class
java.util.Observable
| |||||||||||
From class
java.lang.Object
| |||||||||||
The JSON token of the objects collection.
The constant PARAM_SET.
The constant PARAM_SINCE.
The constant PARAM_TOKENS.
Destroy all media files identified by the tokens in the list.
NOTE: this action is irreversible.| audioBoxClient | the client |
|---|---|
| tokens | the tokens |
| AudioBoxException | if any of the remote error exception is detected. |
|---|---|
| IOException |
Gets playlists.
This method is not intended to be used directly, it exists for parsing technical reason.
It builds a new EventedModelList that is used
by the parser and assigned to the underlying list of the instance of this very class.
...yes, black magic happens! :P
| context | the observable parent object (typically a Playlist). |
|---|