C
NetworkInterface QML Type
Represents a network interface. More...
Import Statement: | import QtDeviceUtilities.NetworkSettings 1.0 |
Properties
Methods
- void scanServices()
Detailed Description
The NetworkInterface QML type represents a network interface attached to the host.
Instances of NetworkInterface cannot be created directly; instead, they can be retrieved via NetworkSettingsManager.
See also NetworkSettingsManager.interfaces.
Property Documentation
Holds the state of the network interface.
Possible values:
Constant | Description |
---|---|
NetworkSettingsState.Idle | Idle |
NetworkSettingsState.Failure | Failed to connect |
NetworkSettingsState.Association | Authentication in progress |
NetworkSettingsState.Configuration | Configuration in progress |
NetworkSettingsState.Ready | Connected to a network |
NetworkSettingsState.Disconnect | Disconnected from a network |
NetworkSettingsState.Online | Online (acquired an IP address) |
NetworkSettingsState.Undefined | Undefined state. |
Holds the type of the network interface.
Possible values:
Constant | Description |
---|---|
NetworkSettingsType.Wired | Wired network |
NetworkSettingsType.Wifi | Wifi network |
NetworkSettingsType.Bluetooth | Bluetooth network |
NetworkSettingsType.Unknown | Unknown network type |
Method Documentation
Available under certain Qt licenses.
Find out more.