YAACC - UPNP Client and Server
|
Public Member Functions | |
AVTransportController (UpnpClient upnpClient, Device<?, ?, ?> receiverDevice) | |
void | onServiceConnected (ComponentName className, IBinder binder) |
void | onServiceDisconnected (ComponentName className) |
void | exit () |
Exit the player. | |
void | stop () |
stops playing. | |
void | next () |
play the next item | |
void | previous () |
play the previous item | |
void | play () |
start playing the current item | |
Public Member Functions inherited from de.yaacc.player.AVTransportPlayer | |
AVTransportPlayer (UpnpClient upnpClient, Device<?, ?, ?> receiverDevice, String name, String shortName, String contentType) | |
AVTransportPlayer (UpnpClient upnpClient) | |
String | getDeviceId () |
String | getContentType () |
PendingIntent | getNotificationIntent () |
Returns the intent which is to be started by pushing the notification entry. | |
void | pause () |
Pause the current item. | |
URI | getAlbumArt () |
boolean | getMute () |
void | setMute (boolean mute) |
int | getVolume () |
void | setVolume (int volume) |
int | getIconResourceId () |
void | seekTo (long millisecondsFromStart) |
long | getRemainingTime () |
String | getDuration () |
returns the duration of the current item | |
String | getElapsedTime () |
returns the elapsed time of the current item | |
void | startTimer (final long duration) |
Start a timer for the next item change. | |
void | onDestroy () |
Kill the player. | |
boolean | hasActionGetVolume () |
boolean | hasActionGetMute () |
Public Member Functions inherited from de.yaacc.player.AbstractPlayer | |
AbstractPlayer (UpnpClient upnpClient) | |
Context | getContext () |
Bitmap | getIcon () |
void | setIcon (Bitmap icon) |
UpnpClient | getUpnpClient () |
void | startService () |
void | clear () |
Drops all Items. | |
boolean | isPlaying () |
void | setPlaying (boolean isPlaying) |
int | getCurrentIndex () |
void | setCurrentIndex (int currentIndex) |
List< PlayableItem > | getItems () |
void | setItems (PlayableItem... playableItems) |
Set a List of Items. | |
void | addItems (List< PlayableItem > playableItems) |
adds additional item to the end of the playlist | |
String | getPositionString () |
returns the current item position in the playlist | |
int | getCurrentItemIndex () |
String | getCurrentItemTitle () |
returns the title of the current item | |
String | getNextItemTitle () |
returns the title of the next current item | |
String | getName () |
Get the player name. | |
void | setName (String name) |
Set the name of the player. | |
boolean | isProcessingCommand () |
void | setProcessingCommand (boolean isProcessingCommand) |
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 | |
SynchronizationInfo | getSyncInfo () |
Get the synchronization information. | |
void | setSyncInfo (SynchronizationInfo syncInfo) |
Set the synchronization information. | |
String | getShortName () |
Get the player short name. | |
void | setShortName (String name) |
Set the short name of the player. | |
Static Public Attributes | |
static final String | DEVICE_ID = "DEVICE_ID" |
Static Public Attributes inherited from de.yaacc.player.AbstractPlayer | |
static final String | PLAYER_ID = "PlayerId" |
static final String | PROPERTY_ITEM = "item" |
Additional Inherited Members | |
Protected Member Functions inherited from de.yaacc.player.AVTransportPlayer | |
Device<?, ?, ?> | getDevice () |
void | stopItem (PlayableItem playableItem) |
Object | loadItem (PlayableItem playableItem) |
void | startItem (PlayableItem playableItem, Object loadedItem) |
int | getNotificationId () |
Returns the notification id of the player. | |
void | getPositionInfo () |
Protected Member Functions inherited from de.yaacc.player.AbstractPlayer | |
boolean | isShufflePlay () |
is shuffle play enabled. | |
void | cancelTimer () |
Object | loadItem (int toLoadIndex) |
void | loadItem (int previousIndex, int nextIndex) |
void | doPostLoadItem (PlayableItem playableItem) |
void | doPause () |
void | doResume () |
long | getSilenceDuration () |
returns the duration between two items | |
void | updateTimer () |
long | parseTimeStringToMillis (String timeString) |
void | firePropertyChange (String property, Object oldValue, Object newValue) |
Date | getExecutionTime () |
void | executeCommand (TimerTask command, Date executionTime) |
void de.yaacc.player.AVTransportController.exit | ( | ) |
Exit the player.
Reimplemented from de.yaacc.player.AVTransportPlayer.
void de.yaacc.player.AVTransportController.next | ( | ) |
play the next item
Reimplemented from de.yaacc.player.AbstractPlayer.
void de.yaacc.player.AVTransportController.onServiceConnected | ( | ComponentName | className, |
IBinder | binder | ||
) |
Reimplemented from de.yaacc.player.AbstractPlayer.
void de.yaacc.player.AVTransportController.onServiceDisconnected | ( | ComponentName | className | ) |
Reimplemented from de.yaacc.player.AbstractPlayer.
void de.yaacc.player.AVTransportController.play | ( | ) |
start playing the current item
Reimplemented from de.yaacc.player.AbstractPlayer.
void de.yaacc.player.AVTransportController.previous | ( | ) |
play the previous item
Reimplemented from de.yaacc.player.AbstractPlayer.
void de.yaacc.player.AVTransportController.stop | ( | ) |
stops playing.
And returns to the beginning of the item list.
Reimplemented from de.yaacc.player.AbstractPlayer.