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