QMediaNetworkAccessControl Class

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

头文件: #include <QMediaNetworkAccessControl>
qmake: QT += multimedia
基类: QMediaControl

公有函数

virtual ~QMediaNetworkAccessControl()
virtual QNetworkConfiguration currentConfiguration() const = 0
virtual void setConfigurations(const QList<QNetworkConfiguration> &configurations) = 0
  • 32 个公有函数继承自 QObject

信号

void configurationChanged(const QNetworkConfiguration &configuration)

其他继承的成员

  • 1 个属性继承自 QObject
  • 1 个公有槽函数继承自 QObject
  • 1 个公有变量继承自 QObject
  • 10 个静态公有成员继承自 QObject
  • 9 个受保护的函数继承自 QObject
  • 2 个受保护的变量继承自 QObject

详细描述

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

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.

成员函数

[virtual] QMediaNetworkAccessControl::~QMediaNetworkAccessControl()

Destroys a network access control.

[signal] void QMediaNetworkAccessControl::configurationChanged(const QNetworkConfiguration &configuration)

This signal is emitted when the current active network configuration changes to configuration.

[pure virtual] QNetworkConfiguration QMediaNetworkAccessControl::currentConfiguration() const

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

[pure virtual] void QMediaNetworkAccessControl::setConfigurations(const QList<QNetworkConfiguration> &configurations)

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.