QMediaServiceSupportedFormatsInterface

The QMediaServiceSupportedFormatsInterface class interface identifies if a media service plug-in supports a media format. More

Inheritance diagram of PySide2.QtMultimedia.QMediaServiceSupportedFormatsInterface

Detailed Description

A QMediaServiceProviderPlugin may implement this interface.

class QMediaServiceSupportedFormatsInterface
PySide2.QtMultimedia.QMediaServiceSupportedFormatsInterface.hasSupport(mimeType, codecs)
Parameters
  • mimeType – unicode

  • codecs – list of strings

Return type

SupportEstimate

Returns the level of support a media service plug-in has for a mimeType and set of codecs .

PySide2.QtMultimedia.QMediaServiceSupportedFormatsInterface.supportedMimeTypes()
Return type

list of strings

Returns a list of MIME types supported by the media service plug-in.