以下成員源於類 QMediaPlayer 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QStringList
|
supportedMimeTypes (Flags flags = Flags()) |
[static]
QStringList
QMediaPlayer::
supportedMimeTypes
(
Flags
flags
= Flags())
Returns a list of MIME types supported by the media player.
The flags argument causes the resultant list to be restricted to MIME types which can be supported given additional requirements, such as performance indicators.
This function may not return useful results on some platforms, and support for a specific file of a given mime type is not guaranteed even if the mime type is in general supported. In addition, in some cases this function will need to load all available media plugins and query them for their support, which may take some time.