play
Start music playback. Will begin playback if there is any music in the queue. This should only be called to resume music playback. The music should be set using overloads of play. Even if prepareToPlay() has been called earlier, the music may or may not start immediately when this function is called. To be sure that playback will start when this function is called, user should wait for onPlayItemReadyForPlayback callback in MusicQueuedListener before calling this function.
Begin playback of a specific onDemand song.
See also
()
Parameters
AudioFile
Begin playback of on Demand list.
See also
() to edit the play queue
Parameters
List
Boolean
index from which to begin playback. Starts at 0.
Play the given station, with optional crossfade between the current song and the song in the new station.
If withCrossfade
is true, then the server first retrieves enough of the first song in the new active station to begin playback, then it begins fading out the current song while starting the new song.
Parameters
Station
If true, the current song will fade out, rather than stop, when the new station starts playback.