NetworkManagerDevice class

A device managed by NetworkManager.

Constructors

NetworkManagerDevice(NetworkManagerClient _client, _NetworkManagerObject _object)

Properties

activeConnection NetworkManagerActiveConnection?
Connection that owns this device.
no setter
autoconnect bool
True if this device is allowed to automatically connect.
no setter
availableConnections List<NetworkManagerSettingsConnection>
no setter
bluetooth NetworkManagerDeviceBluetooth?
Information for Bluetooth devices or null.
no setter
bridge NetworkManagerDeviceBridge?
Information for bridge devices or null.
no setter
capabilities List<NetworkManagerDeviceCapability>
Capabilities of this device
no setter
deviceType NetworkManagerDeviceType
The type of device.
no setter
dhcp4Config NetworkManagerDHCP4Config?
DHCPv4 configuration for this device.
no setter
dhcp6Config NetworkManagerDHCP6Config?
DHCPv6 configuration for this device.
no setter
driver String
The kernel driver this device is using.
no setter
driverVersion String
The version of the kernel driver this device is using.
no setter
firmwareMissing bool
True if this device is missing firware required for it to operate.
no setter
firmwareVersion String
The version of the firmware this device is using.
no setter
generic NetworkManagerDeviceGeneric?
Generic device information or null.
no setter
hashCode int
The hash code for this object.
no setteroverride
hwAddress String
Hardware address for this device.
no setter
interface String
Name of the device's control (and often data) interface.
no setter
interfaceFlags List<NetworkManagerDeviceInterfaceFlag>
Flags for network interfaces.
no setter
ip4Config NetworkManagerIP4Config?
IPv4 configuration for this device.
no setter
ip4Connectivity NetworkManagerConnectivityState
IPv4 connectivity state.
no setter
ip6Config NetworkManagerIP6Config?
IPv6 configuration for this device.
no setter
ip6Connectivity NetworkManagerConnectivityState
IPv6 connectivity state.
no setter
ipInterface String
The name of the device's data interface when available.
no setter
managed bool
True if this device is being managed by NetworkManager.
no setter
metered NetworkManagerMetered
True if the device has traffic limitations.
no setter
mtu int
The device MTU.
no setter
nmPluginMissing bool
True if this device is missing a plugin or needs plugin configuration for it to operate.
no setter
path String
Device filesystem path.
no setter
physicalPortId String
The pyhsical network port associated with this device.
no setter
propertiesChanged Stream<List<String>>
Stream of property names as their values change.
no setter
real bool
True if the device exists.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state NetworkManagerDeviceState
The connection state of this device.
no setter
stateReason NetworkManagerDeviceStateAndReason
The state of this connection and the reason for that state.
no setter
statistics NetworkManagerDeviceStatistics?
Device statistics or null.
no setter
tun NetworkManagerDeviceTun?
TUN device information or null.
no setter
udi String
UDI for this device.
no setter
vlan NetworkManagerDeviceVlan?
Information for Virtual LAN devices or null.
no setter
wired NetworkManagerDeviceWired?
Information for wired devices (e.g. Ethernet) or null.
no setter
wireless NetworkManagerDeviceWireless?
Information for wireless devices (e.g WiFi) or null.
no setter

Methods

delete() Future<void>
Deletes a software device from NetworkManager and removes the interface from the system. The method returns an error when called for a hardware device.
disconnect() Future<void>
Disconnects a device and prevents the device from automatically activating further connections without user intervention.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAutoconnect(bool value) Future<void>
Sets if this device is allowed to automatically connect.
setManaged(bool value) Future<void>
Sets if this device is being managed by NetworkManager.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override