Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaEngineInformation class is a base class used to provide information about a Media Engine. More...
#include <QMediaEngineInformation>
This class is under development and is subject to change.
The QMediaEngineInformation class is a base class used to provide information about a Media Engine.
Media Engines derive a class from QMediaEngineInformation to provide information about the Engine to the Media Server
Example { class Info : public QMediaEngineInformation { public: Info() { // do stuff, make sessionbuilders } ~Info() {} QString name() const { return "Example"; } QString version() const { return "1.0.0"; } int idleTime() const return { 10 * 1000; } // 10 seconds QMediaSessionBuilderList sessionBuilders() const { return m_sessionBuilderList; } private: QMediaSessionBuilderList m_sessionBuilderList; }: }
Destruct a QMediaEngineInformation.
Returns true if the engine uses a audio output device that is not able to be shared with other engines or processes.
Return the number of milliseconds before the engine should be suspended. Suspension based on idle time is optional, a value of -1 will indicate to the Media Server that this Engine should never be suspended based on a timeout.
Returns the name of the Media Engine.
Return the list of QMediaSessionBuilders that are used by this Engine. The Media Server uses the type of the builders to appropriately route session creation requests to Media Engines.
See also QMediaSessionBuilder.
Returns the version string of the Media Engine.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |