QMediaServiceProviderHint Class ReferenceThe QMediaServiceProviderHint class describes what is required of a QMediaService. More... #include <QMediaServiceProviderHint> This class is under development and is subject to change. Public Types
Public Functions
Detailed DescriptionThe QMediaServiceProviderHint class describes what is required of a QMediaService. The QMediaServiceProvider class uses hints to select an appropriate media service. Member Type Documentation
flags QMediaServiceProviderHint::Features |
Constant | Value | Description |
---|---|---|
QMediaServiceProviderHint::LowLatencyPlayback | 0x01 | The service is expected to play simple audio formats, but playback should start without significant delay. Such playback service can be used for beeps, ringtones, etc. |
QMediaServiceProviderHint::RecordingSupport | 0x02 | The service provides audio or video recording functions. |
The Features type is a typedef for QFlags<Feature>. It stores an OR combination of Feature values.
Enumerates the possible types of media service provider hint.
Constant | Value | Description |
---|---|---|
QMediaServiceProviderHint::Null | 0 | En empty hint, use the default service. |
QMediaServiceProviderHint::ContentType | 1 | Select media service most suitable for certain content type. |
QMediaServiceProviderHint::Device | 2 | Select media service which supports certain device. |
QMediaServiceProviderHint::SupportedFeatures | 3 | Select media service supporting the set of optional features. |
Constructs an empty media service provider hint.
Constructs a ContentType media service provider hint.
This type of hint describes a service that is able to play content of a specific MIME type encoded with one or more of the listed codecs.
Constructs a Device media service provider hint.
This type of hint describes a media service that utilizes a specific device.
Constructs a SupportedFeatures media service provider hint.
This type of hint describes a service which supports a specific set of features.
Constructs a copy of the media service provider hint other.
Destroys a media service provider hint.
Returns a list of codes a media service is expected to be able to decode.
Returns the name of a device a media service is expected to utilize.
Returns a set of features a media service is expected to provide.
Returns true if a media service provider is null.
Returns the mime type of the media a service is expected to be able play.
Returns the type of a media service provider hint.
Identifies if other is not of equal value to a media service provider hint.
Returns true if the hints are not equal, and false if they are.
Assigns the value other to a media service provider hint.
Identifies if other is of equal value to a media service provider hint.
Returns true if the hints are equal, and false if they are not.
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-tp | |
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