Requests that the remote settings service add the given settings to a new connection.
The connection is immediately written to disk. connection
is untouched by this function and only serves as a template of
the settings to add. The RemoteConnection object that represents what NetworkManager
actually added is returned to callback
when the addition operation is complete.
Note that the RemoteConnection returned in callback
may not contain
identical settings to connection
as NetworkManager may perform automatic completion and/or normalization of connection
properties.
this |
the RemoteSettings |
connection |
the connection to add. Note that this object's settings will be added, not the object itself |
callback |
callback to be called when the add operation completes |
user_data |
caller-specific data passed to |
|