+
The AddConnection2() method
+
+AddConnection2 (IN a{sa{sv}} settings,
+ IN u flags,
+ IN a{sv} args,
+ OUT o path,
+ OUT a{sv} result);
+
+
"0x1" (to-disk),
+ "0x2" (in-memory),
+ "0x20" (block-autoconnect).
+ Unknown flags cause the call to fail.
+ args: optional arguments dictionary, for extensibility. Currently no
+ arguments are accepted. Specifying unknown keys causes the call
+ to fail.
+ path: Object path of the new connection that was just added.
+ result: output argument, currently no additional results are returned.
+
+
Add a new connection profile.
+
+
Either the flags 0x1 (to-disk) or 0x2 (in-memory) must be specified.
+ The effect is whether to behave like AddConnection or AddConnectionUnsaved.
+ If 0x20 (block-autoconnect) is specified, autoconnect for the new profile
+ is blocked from the beginnin. Otherwise, the profile might automatically
+ connect if a suitable device is around.
+
+
AddConnection2 is a extensible alternative to AddConnection, and AddConnectionUnsaved.
+ The new variant can do everything that the older variants could, and more.
+
+
Since: 1.20
+
+
+
+
+
+
+
+
+IN a{sa{sv}} settings:
|
+New connection settings, properties, and (optionally) secrets. |
+
+
+IN u flags:
|
+optional flags argument. Currently the following flags are supported: |
+
+
+IN a{sv} args:
|
+ |
+
+
+OUT o path:
|
+ |
+
+
+OUT a{sv} result:
|
+ |
+
+
+
+
+