public abstract class PlayerController extends Activator
| Constructor and Description |
|---|
PlayerController(Context context,
String ID) |
PlayerController(Context context,
String ID,
Player player) |
| Modifier and Type | Method and Description |
|---|---|
void |
command(String command,
Playlist playlist,
Progress progress,
TrackInfo trackInfo,
Volume volume)
commands the player to fulfill the command
|
Player |
getPlayer() |
void |
setPlayer(Player player) |
void |
startPlaying()
starts the playing command
|
void |
startPlaying(Playlist playlist)
starts the playing command
|
void |
startPlaying(TrackInfo trackInfo)
starts the playing command
|
void |
stopPlaying()
stops the playing of the music
|
activatorStarts, call, stopgetContext, getIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfire, fire, fire, fire, firedebug, debug, error, error, getContextgetID, isOwnerdebug, debug, error, error, fatal, fatal, warn, warnexceptionThrownpublic PlayerController(Context context, String ID, Player player)
public PlayerController(Context context, String ID)
public void startPlaying()
public void startPlaying(TrackInfo trackInfo)
trackInfo - the track to playpublic void startPlaying(Playlist playlist)
playlist - the playlist to playpublic void stopPlaying()
public void command(String command, Playlist playlist, Progress progress, TrackInfo trackInfo, Volume volume)
command - the commandplaylist - the playlist, or null if not neededprogress - the progress, or null if not neededtrackInfo - the trackInfo, or null if not neededvolume - the volume, or null if not neededCopyright © 2016. All rights reserved.