QMediaNetworkAccessControl¶
The
QMediaNetworkAccessControl
class allows the setting of the Network Access Point for media related activities. More…
Detailed Description¶
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 PySide2.QtMultimedia.QMediaNetworkAccessControl([parent=None])¶
- Parameters:
parent –
PySide2.QtCore.QObject
- PySide2.QtMultimedia.QMediaNetworkAccessControl.configurationChanged(configuration)¶
- Parameters:
configuration –
PySide2.QtNetwork.QNetworkConfiguration
- PySide2.QtMultimedia.QMediaNetworkAccessControl.currentConfiguration()¶
- Return type:
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)¶
- Parameters:
configuration –
The
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.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.