The QMediaPlaylistSourceControl class provides access to the playlist playback functionality of a QMediaService. More...
#include <QMediaPlaylistSourceControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.0.
virtual | ~QMediaPlaylistSourceControl () |
virtual QMediaPlaylist * | playlist () const = 0 |
virtual void | setPlaylist ( QMediaPlaylist * playlist ) = 0 |
void | playlistChanged ( QMediaPlaylist * playlist ) |
QMediaPlaylistSourceControl ( QObject * parent = 0 ) |
QMediaPlaylistSourceControl_iid |
The QMediaPlaylistSourceControl class provides access to the playlist playback functionality of a QMediaService.
This control allows QMediaPlaylist to be passed directly to the service instead of playing media sources one by one. This control should be implemented if backend benefits from knowing the next media source to be played, for example for preloading, cross fading or gap-less playback.
If QMediaPlaylistSourceControl is provided, the backend must listen for current playlist item changes to load corresponding media source and advance the playlist with QMediaPlaylist::next() when playback of the current media is finished.
The interface name of QMediaPlaylistSourceControl is com.nokia.Qt.QMediaPlaylistSourceControl/1.0 as defined in QMediaPlaylistSourceControl_iid.
See also QMediaService::requestControl() and QMediaPlayer.
Create a new playlist source control object with the given parent.
Destroys the playlist control.
Returns the current playlist. Should return a null pointer if no playlist is assigned.
This function was introduced in Qt Mobility 1.0.
See also setPlaylist().
Signal emitted when the playlist has changed to playlist.
This function was introduced in Qt Mobility 1.0.
Set the playlist of this media player to playlist. If a null pointer is passed, the playlist source should be disabled.
The current media should be replaced with the current item of the media playlist.
This function was introduced in Qt Mobility 1.0.
See also playlist().
com.nokia.Qt.QMediaPlaylistSourceControl/1.0
Defines the interface name of the QMediaPlaylistSourceControl class.