Collection.for_dbus_path_sync
Description:
[ CCode ( has_construct_function = false ) ]
public Collection.for_dbus_path_sync (Service? service, string collection_path, CollectionFlags flags, Cancellable? cancellable = null) throws Error
public Collection.for_dbus_path_sync (Service? service, string collection_path, CollectionFlags flags, Cancellable? cancellable = null) throws Error
Get a new collection proxy for a collection in the secret service.
If service is null, then [funcService.get_sync] will be called to get the default [classService
] proxy.
This method may block indefinitely and should not be used in user interface threads.
Parameters:
| service |
a secret service object |
| collection_path |
the D-Bus path of the collection |
| flags |
options for the collection initialization |
| cancellable |
optional cancellation object |
Returns:
|
the new collection, which should be unreferenced with [method |