Obsolete Members for QMediaPlayer

以下成员源于类 QMediaPlayer 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(obsolete) dumpObjectInfo ()
(obsolete) dumpObjectTree ()

静态公共成员

(obsolete) QStringList supportedMimeTypes (QMediaPlayer::Flags flags = Flags())

成员函数文档编制

[static] QStringList QMediaPlayer:: supportedMimeTypes ( QMediaPlayer::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.