NetworkInterface QML Type
Represents a network interface. More...
|Import Statement:||import QtDeviceUtilities.NetworkSettings 1.0|
- void scanServices()
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.
[read-only] name : string
Holds the name of the network interface.
powered : bool
Holds whether the network interface is powered on or off.
[read-only] state : enumeration
Holds the state of the network interface.
|Failed to connect|
|Authentication in progress|
|Configuration in progress|
|Connected to a network|
|Disconnected from a network|
|Online (acquired an IP address)|
[read-only] type : enumeration
Holds the type of the network interface.
|Unknown network type|
© 2020 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.