Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaServerSession class is used to represent and control a session registered in the Media Server. More...
#include <QMediaServerSession>
This class is under development and is subject to change.
Inherits QObject.
The QMediaServerSession class is used to represent and control a session registered in the Media Server.
See also QMediaEngine.
Destroy a QMediaServerSession object.
Returns the audio domain for this session.
See also setDomain().
If the session is in the error state, a generic error string may be provided through this function.
This function should return the Id of the session.
Inform listeners that an interface has been made available. The interface can be referenced in the media system by name.
Inform listeners that an interface is no longer available for use. The interfaces is referenced in the media system by name
This function should return the names of the interfaces supported by this session.
Return the current mute state of the session.
Return the length of the content.
Inform listeners the length of the content is changed to ms milliseconds long.
This function is called when the user is trying to pause the session. For some session types this may mean pausing decoding content, for others simply muting data.
Return the current state of the session.
Inform listeners that the current state of the session has changed. The new state is indicated by state.
Inform listeners that the current play position in the content has changed to ms, from the beginning.
This is a general reporting mechanisim, the QString from this function will be placed in the Value Space for inspection.
After a suspend, resume() is called to return the session to its previous state.
Seek the content to ms milliseconds from the beginning. If the session is not seekable it may ignore this function.
Sets the audio domain in which this session is active to domain.
See also domain().
When mute is true the volume on the session should be muted, when false, the previously set volume should be restored.
See also isMuted().
Set the volume of the data to volume. This may involve adjusting device volume, or adjusting PCM volume, it is dependent on the nature of the session.
See also volume().
This function is called when the user is trying to start the session. It may have different meanings depending on the nature of the session. Generally the content must become active or playing, on start().
This function is called as a result of the user trying to stop the session. It is similar to pause() excepting that the any position state, if applicable, should be reset.
The session may be asked to suspend its activities, at this point it should keep a record of state of the session, but otherwise release resources used by the session.
Return the current volume.
See also setVolume().
Inform listeners the volume level has changed to volume.
Inform listeners that the mute state of the session has changed to muted.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |