|
YAACC - UPNP Client and Server
|
Builds the PlayableItem of a shared file or link: the DIDL item class follows the MIME type (audio: music track, video: video item, image: image item).
More...

Static Public Member Functions | |
| static PlayableItem | create (String mimeType, String title, Uri uri, long sizeBytes, long durationMillis, long bitrate) |
Builds the PlayableItem of a shared file or link: the DIDL item class follows the MIME type (audio: music track, video: video item, image: image item).
Plain object building, no I/O.
|
static |
| mimeType | the type; only audio/..., video/... and image/... are built |
| title | the (cleaned) title |
| uri | the URI the player fetches |
| sizeBytes | the size if known, otherwise 0 or less (then no size is announced) |
| durationMillis | the duration if known, otherwise 0 or less (then none is announced) |
| bitrate | the bitrate if known, otherwise 0 or less |
Referenced by de.yaacc.share.QueueShareBinder.bind(), and de.yaacc.upnp.UpnpClient.createPlayableItem().

