内容表

上一话题

QMediaGaplessPlaybackControl

下一话题

QMediaObject

QMediaNetworkAccessControl

QMediaNetworkAccessControl class allows the setting of the Network Access Point for media related activities. 更多

Inheritance diagram of PySide2.QtMultimedia.QMediaNetworkAccessControl

详细描述

The functionality provided by this control allows the setting of a Network Access Point.

This control can be used to set a network access for various network related activities. The exact nature is dependent on the underlying usage by the supported QMediaObject .

class QMediaNetworkAccessControl ( [ parent=None ] )
参数

parent QObject

PySide2.QtMultimedia.QMediaNetworkAccessControl. configurationChanged ( configuration )
参数

configuration QNetworkConfiguration

PySide2.QtMultimedia.QMediaNetworkAccessControl. currentConfiguration ( )
返回类型

QNetworkConfiguration

Returns the current active configuration in use. A default constructed QNetworkConfigration is returned if no user supplied configuration are in use.

PySide2.QtMultimedia.QMediaNetworkAccessControl. setConfigurations ( configuration )
参数

configuration

configurations parameter contains a list of network configurations to be used for network access.

It is assumed the list is given in highest to lowest preference order. By calling this function all previous configurations will be invalidated and replaced with the new list.