QMediaObject Class ReferenceThe QMediaObject class provides a common base for multimedia objects. More... #include <QMediaObject> This class is under development and is subject to change. Inherits QObject. Inherited by QAudioCaptureSource, QMediaImageViewer, QMediaPlayer, and QRadioTuner. Properties
Public Functions
Signals
Protected Functions
Additional Inherited Members
Detailed DescriptionThe QMediaObject class provides a common base for multimedia objects. QMediaObject derived classes provide access to the functionality of a QMediaService. Each media object hosts a QMediaService and uses the QMediaControl interfaces implemented by the service to implement its API. Most media objects when constructed will request a new QMediaService instance from a QMediaServiceProvider, but some like QMediaRecorder will share a service with another object. QMediaObject itself provides an API for accessing a media service's meta-data and a means of connecting other media objects, and peripheral classes like QVideoWidget and QMediaPlaylist. See also QMediaService and QMediaControl. Property Documentation
|
int | notifyInterval () const |
void | setNotifyInterval ( int milliSeconds ) |
Notifier signal:
void | notifyIntervalChanged ( int milliseconds ) |
See also addPropertyWatch() and removePropertyWatch().
Constructs a media object which uses the functionality provided by a media service.
The parent is passed to QObject.
This class is meant as a base class for Multimedia objects so this constructor is protected.
Destroys a media object.
Watch the property name. The property's notify signal will be emitted once every notifyInterval milliseconds.
See also notifyInterval.
Signal emitted when the availability state has changed to available
Returns the service availability error state.
Returns a list of keys there is extended meta-data available for.
Returns a list of keys there is meta-data available for.
Bind object to the QMediaObject instance.
This method establishes a relationship between the media object and a helper object. The nature of the relationship depends on both parties. This methods returns true if the helper was succesfully bound, false otherwise.
The object passed must implement the QMediaBindableInterface interface.
See also QMediaBindableInterface.
Returns the value associated with a meta-data key.
The naming and type of extended meta-data is not standardized, so the values and meaning of keys may vary between backends.
Returns true if the service is available for use.
Returns true if there is meta-data associated with this media object, else false.
Returns the value associated with a meta-data key.
Signals that the available state of a media object's meta-data has changed.
Signals that a media object's meta-data has changed.
Signal a change in the notify interval period to milliseconds.
Remove property name from the list of properties whose changes are regularly signaled.
See also notifyInterval.
Returns the media service that provides the functionality of a multimedia object.
Detach object from the QMediaObject instance.
Disconnect the help object from the media object.
See also QMediaBindableInterface.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.0 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com