|
YAACC - UPNP Client and Server
|
representation of an item which is to be played More...

Public Member Functions | |
| PlayableItem (Item item, int defaultDuration) | |
| String | getMimeType () |
| void | setMimeType (String mimeType) |
| String | getTitle () |
| void | setTitle (String title) |
| Uri | getUri () |
| void | setUri (Uri uri) |
| long | getDuration () |
| Duration in milliseconds. | |
| void | setDuration (long duration) |
| Duration in milliseconds. | |
| Item | getItem () |
| void | setItem (Item item) |
| UUID | getId () |
representation of an item which is to be played
| long de.yaacc.player.PlayableItem.getDuration | ( | ) |
Duration in milliseconds.
| String de.yaacc.player.PlayableItem.getMimeType | ( | ) |
Referenced by de.yaacc.upnp.callback.openhome.OhPlayableItems.fromTrack(), de.yaacc.upnp.UpnpClient.getCurrentPlayers(), de.yaacc.upnp.UpnpClient.initializePlayers(), and de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.toPlayableItem().

| String de.yaacc.player.PlayableItem.getTitle | ( | ) |
| Uri de.yaacc.player.PlayableItem.getUri | ( | ) |
Referenced by de.yaacc.share.QueueShareBinder.bind(), de.yaacc.upnp.UpnpClient.discardShareOf(), de.yaacc.upnp.callback.openhome.OhPlayableItems.isSendable(), and de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.queueUriOf().

| void de.yaacc.player.PlayableItem.setDuration | ( | long | duration | ) |
Duration in milliseconds.
| duration | the duration to set |
Referenced by de.yaacc.share.QueueShareBinder.bind(), de.yaacc.share.SharedItemFactory.create(), de.yaacc.upnp.callback.openhome.OhPlayableItems.fromTrack(), de.yaacc.upnp.UpnpClient.getCurrentPlayers(), and de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.toPlayableItem().

| void de.yaacc.player.PlayableItem.setMimeType | ( | String | mimeType | ) |
| mimeType | the mimeType to set |
Referenced by de.yaacc.share.SharedItemFactory.create(), de.yaacc.upnp.callback.openhome.OhPlayableItems.fromTrack(), de.yaacc.upnp.UpnpClient.getCurrentPlayers(), de.yaacc.upnp.UpnpClient.initializePlayers(), and de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.toPlayableItem().

| void de.yaacc.player.PlayableItem.setTitle | ( | String | title | ) |
| title | the title to set |
Referenced by de.yaacc.share.SharedItemFactory.create(), de.yaacc.upnp.callback.openhome.OhPlayableItems.fromTrack(), de.yaacc.upnp.UpnpClient.getCurrentPlayers(), de.yaacc.upnp.UpnpClient.initializePlayers(), and de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.toPlayableItem().

| void de.yaacc.player.PlayableItem.setUri | ( | Uri | uri | ) |
| uri | the uri to set |
Referenced by de.yaacc.share.QueueShareBinder.bind(), de.yaacc.share.SharedItemFactory.create(), de.yaacc.upnp.callback.openhome.OhPlayableItems.fromTrack(), de.yaacc.upnp.UpnpClient.getCurrentPlayers(), de.yaacc.upnp.UpnpClient.initializePlayers(), and de.yaacc.upnp.server.openhome.AndroidOpenHomeHost.toPlayableItem().
