Static
initInitializes a new ConnectionSettingsManager given a DBus connection
The system DBus instance to use for communicating with NetworkManager
Private
_listenPrivate
_listenRequires root access, depending on user permissions and NetworkManager policy configuration.
Adds a new connection profile and returns the path of the new profile
Promise of the new connection profile path
Connection settings to use when constructing the profile
Requires root access, depending on user permissions and NetworkManager policy configuration.
Convenience function to add new WPA wifi connection profiles
Promise of the new connection profile's path
SSID of the network to connect to as a string
Whether or not the network has a hidden SSID
Optional
password: stringThe password of the network. Optional, if no password provided the network will treated as unencrypted.
Optional
deviceiface: stringThe device interface name to attempt this connection on. Optional, if not provided "wlan0" will be attempted instead.
Requires root access, depending on user permissions and NetworkManager policy configuration.
Deactivates and deletes a connection profile This is used to implement "forget wifi network" functionality
The connection profile path to remove
Private
_busPrivate
_connectionPrivate
_connectionPrivate
_connectionPrivate
_propertiesPrivate
_propertiesPrivate
_propertiesContinuously updated saved connection profiles
Continuously updated properties of the ConnectionSettingsManager
Get a one-time value of the latest saved connection profiles
Get a one-time value of the latest ConnectionSettingsManager properties
Private
constructorGenerated using TypeDoc
Manages the saving and retrieving of connection profiles and the device's hostname When connecting to a network (wired or wireless), you must provide a connection profile by either creating one with
addConnectionProfile()
or using a saved connection profile.