|
| enum | DeviceType {
Unknown = 0
, Ethernet = 1
, Wifi = 2
, Bluetooth = 5
,
OlpcMesh = 6
, Wimax = 7
, Modem = 8
, Infiniband = 9
,
Bond = 10
, Vlan = 11
, Adsl = 12
, Bridge = 13
,
Generic = 14
, Team = 15
, Tun = 16
, IpTunnel = 17
,
Macvlan = 18
, Vxlan = 19
, Veth = 20
, Macsec = 21
,
Dummy = 22
, Ppp = 23
, Wireguard = 29
} |
| | D-Bus path of the access point this device is currently associated with, or empty when it is associated with none — which is also what a non-Wi-Fi device always reports, since only org.freedesktop.NetworkManager.Device.Wireless carries the property. More...
|
| enum | DeviceState {
UnknownState = 0
, Unmanaged = 10
, Unavailable = 20
, Disconnected = 30
,
Prepare = 40
, Config = 50
, NeedAuth = 60
, IpConfig = 70
,
IpCheck = 80
, Secondaries = 90
, Activated = 100
, Deactivating = 110
,
Failed = 120
} |
One org.freedesktop.NetworkManager.Device object.
Owned by NetworkHost (parented to it), vended to consumers via the host's deviceAdded / deviceRemoved signals. Reads its interface name, type, state, and managed flag asynchronously via Properties.GetAll and keeps them live through a PropertiesChanged subscription.
D-Bus path of the access point this device is currently associated with, or empty when it is associated with none — which is also what a non-Wi-Fi device always reports, since only org.freedesktop.NetworkManager.Device.Wireless carries the property.
A PATH rather than an AccessPoint*: the access-point objects are owned by AccessPointModel, which builds them per device, and handing out a pointer from here would make this class a second owner of something it does not manage the lifetime of. A consumer that has a model already compares this against each row's dbusPath, which is exactly what the comparison is for.
| Enumerator |
|---|
| Unknown | |
| Ethernet | |
| Wifi | |
| Bluetooth | |
| OlpcMesh | |
| Wimax | |
| Modem | |
| Infiniband | |
| Bond | |
| Vlan | |
| Adsl | |
| Bridge | |
| Generic | |
| Team | |
| Tun | |
| IpTunnel | |
| Macvlan | |
| Vxlan | |
| Veth | |
| Macsec | |
| Dummy | |
| Ppp | |
| Wireguard | |