![]() |
Home · All Classes · All Functions · | ![]() |
The QMediaPlaylistSourceControl class provides access to the playlist playback functionality of a QMediaService. More...
#include <QMediaPlaylistSourceControl>
This class is under development and is subject to change.
Inherits QMediaControl.
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.
See also setPlaylist().
Signal emited when the playlist has changed.
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.
See also playlist().
com.nokia.Qt.QMediaPlaylistSourceControl/1.0
Defines the interface name of the QMediaPlaylistSourceControl class.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.1 |