|
YAACC - UPNP Client and Server
|
Lightweight MusicTrack wrapper that avoids Cling Property overhead. More...


Public Member Functions | |
| YaaccMusicTrack (String id, String parentId, String title, String creator, boolean restricted) | |
| void | setAlbum (String album) |
| void | setArtist (String artist) |
| void | setTrackNumber (Integer trackNumber) |
| void | setDate (String date) |
| void | setGenres (String[] genres) |
| void | setAlbumArtUri (URI albumArtUri) |
| String | getAlbum () |
| String | getArtist () |
| Integer | getTrackNumber () |
| String | getDate () |
| String[] | getGenres () |
| URI | getAlbumArtUri () |
| MusicTrack | toClingItem () |
| Convert to Cling MusicTrack for UPnP serialization. | |
Public Member Functions inherited from de.yaacc.upnp.model.YaaccItem | |
| YaaccItem (String id, String parentId, String title, String creator, boolean restricted, String clazz) | |
| String | getId () |
| String | getParentId () |
| String | getTitle () |
| String | getCreator () |
| boolean | isRestricted () |
| String | getClazz () |
| List< YaaccRes > | getResources () |
| void | addResource (YaaccRes res) |
Static Public Member Functions | |
| static YaaccMusicTrack | fromClingMusicTrack (MusicTrack track) |
| Create from Cling MusicTrack. | |
Static Public Member Functions inherited from de.yaacc.upnp.model.YaaccItem | |
| static YaaccItem | fromClingItem (Item item) |
| Create from Cling Item. | |
Additional Inherited Members | |
Protected Attributes inherited from de.yaacc.upnp.model.YaaccItem | |
| List< YaaccRes > | resources = new ArrayList<>() |
Lightweight MusicTrack wrapper that avoids Cling Property overhead.
Supports: artist, album, track number, genre, date, album art URI.
| MusicTrack de.yaacc.upnp.model.YaaccMusicTrack.toClingItem | ( | ) |
Convert to Cling MusicTrack for UPnP serialization.
Reimplemented from de.yaacc.upnp.model.YaaccItem.