|
YAACC - UPNP Client and Server
|
Player for local image viewing activity. More...


Public Member Functions | |
| LocalImagePlayer (UpnpClient upnpClient, String name, String shortName) | |
| LocalImagePlayer (UpnpClient upnpClient) | |
| void | startService () |
| void | onServiceConnected (ComponentName className, IBinder binder) |
| void | onServiceDisconnected (ComponentName className) |
| boolean | isPlaying () |
| void | setPlaying (boolean isPlaying) |
| void | next () |
| play the next item | |
| void | previous () |
| play the previous item | |
| void | pause () |
| Pause the current item. | |
| void | play () |
| start playing the current item | |
| void | stop () |
| stops playing. | |
| void | setItems (PlayableItem... items) |
| Set a List of Items. | |
| String | getName () |
| Get the player name. | |
| void | setName (String name) |
| Set the name of the player. | |
| String | getShortName () |
| Get the player short name. | |
| void | setShortName (String name) |
| Set the short name of the player. | |
| void | exit () |
| Exit the player. | |
| void | clear () |
| Drops all Items. | |
| void | onDestroy () |
| Kill the player. | |
| int | getId () |
| Returns the id of the Player. | |
| void | addPropertyChangeListener (PropertyChangeListener listener) |
| add a property change listener | |
| void | removePropertyChangeListener (PropertyChangeListener listener) |
| remove a property change listener | |
| String | getPositionString () |
| returns the current item position in the playlist | |
| String | getCurrentItemTitle () |
| returns the title of the current item | |
| int | getCurrentItemIndex () |
| String | getNextItemTitle () |
| returns the title of the next current item | |
| String | getDuration () |
| returns the duration of the current item | |
| long | getCurrentPosition () |
| returns the current position of the current item in millis | |
| String | getElapsedTime () |
| returns the elapsed time of the current item | |
| URI | getAlbumArt () |
| Bitmap | getIcon () |
| void | setIcon (Bitmap icon) |
| boolean | getMute () |
| void | setMute (boolean mute) |
| int | getVolume () |
| boolean | hasActionGetVolume () |
| boolean | hasActionGetMute () |
| void | setVolume (int volume) |
| int | getIconResourceId () |
| String | getDeviceId () |
| PendingIntent | getNotificationIntent () |
| Returns the intent which is to be started by pushing the notification entry. | |
| void | seekTo (long millisecondsFromStart) |
| void | addItems (List< PlayableItem > playableItemList) |
| adds additional item to the end of the playlist | |
| List< PlayableItem > | getItems () |
| void | fastForward (int i) |
| fast forward seconds | |
| void | fastRewind (int i) |
| fast rewind seconds | |
Player for local image viewing activity.
| de.yaacc.player.LocalImagePlayer.LocalImagePlayer | ( | UpnpClient | upnpClient, |
| String | name, | ||
| String | shortName | ||
| ) |
| upnpClient | upnpClient |
| name | playerName |

| void de.yaacc.player.LocalImagePlayer.addItems | ( | List< PlayableItem > | items | ) |
adds additional item to the end of the playlist
| items | the items to be added |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.addPropertyChangeListener | ( | PropertyChangeListener | listener | ) |
| void de.yaacc.player.LocalImagePlayer.clear | ( | ) |
Drops all Items.
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.exit | ( | ) |
| void de.yaacc.player.LocalImagePlayer.fastForward | ( | int | i | ) |
| void de.yaacc.player.LocalImagePlayer.fastRewind | ( | int | i | ) |
| URI de.yaacc.player.LocalImagePlayer.getAlbumArt | ( | ) |
Implements de.yaacc.player.Player.
| int de.yaacc.player.LocalImagePlayer.getCurrentItemIndex | ( | ) |
Implements de.yaacc.player.Player.
| String de.yaacc.player.LocalImagePlayer.getCurrentItemTitle | ( | ) |
| long de.yaacc.player.LocalImagePlayer.getCurrentPosition | ( | ) |
returns the current position of the current item in millis
Implements de.yaacc.player.Player.
| String de.yaacc.player.LocalImagePlayer.getDeviceId | ( | ) |
Implements de.yaacc.player.Player.
| String de.yaacc.player.LocalImagePlayer.getDuration | ( | ) |
| String de.yaacc.player.LocalImagePlayer.getElapsedTime | ( | ) |
returns the elapsed time of the current item
Implements de.yaacc.player.Player.
| Bitmap de.yaacc.player.LocalImagePlayer.getIcon | ( | ) |
Implements de.yaacc.player.Player.
| int de.yaacc.player.LocalImagePlayer.getIconResourceId | ( | ) |
Implements de.yaacc.player.Player.
| int de.yaacc.player.LocalImagePlayer.getId | ( | ) |
| List< PlayableItem > de.yaacc.player.LocalImagePlayer.getItems | ( | ) |
Implements de.yaacc.player.Player.
| boolean de.yaacc.player.LocalImagePlayer.getMute | ( | ) |
Implements de.yaacc.player.Player.
| String de.yaacc.player.LocalImagePlayer.getName | ( | ) |
Get the player name.
Implements de.yaacc.player.Player.
Referenced by de.yaacc.player.LocalImagePlayer.play().

| String de.yaacc.player.LocalImagePlayer.getNextItemTitle | ( | ) |
| PendingIntent de.yaacc.player.LocalImagePlayer.getNotificationIntent | ( | ) |
Returns the intent which is to be started by pushing the notification entry.
Implements de.yaacc.player.Player.
| String de.yaacc.player.LocalImagePlayer.getPositionString | ( | ) |
returns the current item position in the playlist
Implements de.yaacc.player.Player.
| String de.yaacc.player.LocalImagePlayer.getShortName | ( | ) |
| int de.yaacc.player.LocalImagePlayer.getVolume | ( | ) |
Implements de.yaacc.player.Player.
| boolean de.yaacc.player.LocalImagePlayer.hasActionGetMute | ( | ) |
Implements de.yaacc.player.Player.
| boolean de.yaacc.player.LocalImagePlayer.hasActionGetVolume | ( | ) |
Implements de.yaacc.player.Player.
| boolean de.yaacc.player.LocalImagePlayer.isPlaying | ( | ) |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.next | ( | ) |
play the next item
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.onDestroy | ( | ) |
Kill the player.
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.pause | ( | ) |
Pause the current item.
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.play | ( | ) |
start playing the current item
Implements de.yaacc.player.Player.

| void de.yaacc.player.LocalImagePlayer.previous | ( | ) |
play the previous item
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.removePropertyChangeListener | ( | PropertyChangeListener | listener | ) |
remove a property change listener
| listener | the listener |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.seekTo | ( | long | millisecondsFromStart | ) |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.setIcon | ( | Bitmap | icon | ) |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.setItems | ( | PlayableItem... | items | ) |
| void de.yaacc.player.LocalImagePlayer.setMute | ( | boolean | mute | ) |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.setName | ( | String | name | ) |
Set the name of the player.
| name | the name |
Implements de.yaacc.player.Player.
Referenced by de.yaacc.player.LocalImagePlayer.LocalImagePlayer().

| void de.yaacc.player.LocalImagePlayer.setShortName | ( | String | name | ) |
Set the short name of the player.
| name | the name |
Implements de.yaacc.player.Player.
Referenced by de.yaacc.player.LocalImagePlayer.LocalImagePlayer().

| void de.yaacc.player.LocalImagePlayer.setVolume | ( | int | volume | ) |
Implements de.yaacc.player.Player.
| void de.yaacc.player.LocalImagePlayer.stop | ( | ) |
stops playing.
And returns to the beginning of the item list.
Implements de.yaacc.player.Player.
Referenced by de.yaacc.player.LocalImagePlayer.exit().
