get_connections2_sync
Description:
[ Version ( since = "1.49" ) ]
public bool get_connections2_sync (GetConnectionsFlags flags, string? snap, string? @interface, out GenericArray<unowned Connection> established, out GenericArray<unowned Connection> undesired, out GenericArray<unowned Plug> plugs, out GenericArray<unowned Slot> slots, Cancellable? cancellable = null) throws Error
public bool get_connections2_sync (GetConnectionsFlags flags, string? snap, string? @interface, out GenericArray<unowned Connection> established, out GenericArray<unowned Connection> undesired, out GenericArray<unowned Plug> plugs, out GenericArray<unowned Slot> slots, Cancellable? cancellable = null) throws Error
Get the installed snap connections.
Parameters:
| this |
a Client. |
| flags |
a set of GetConnectionsFlags to control what results are returned. |
| snap |
the name of the snap to get connections for or null for all snaps. |
| established |
the location to store the array of connections or null. |
| undesired |
the location to store the array of auto-connected connections that have been manually disconnected or null . |
| plugs |
the location to store the array of Plug or null . |
| slots |
the location to store the array of Slot or null . |
| cancellable |
a Cancellable or null. |
| interface |
the name of the interface to get connections for or null for all interfaces. |
Returns:
|
true on success or false on error. |