Collection.for_dbus_path
Description:
[ CCode ( cname = "secret_collection_new_for_dbus_path" , has_construct_function = false ) ]
public async Collection.for_dbus_path (Service? service, string collection_path, CollectionFlags flags, Cancellable? cancellable) throws Error
public async Collection.for_dbus_path (Service? service, string collection_path, CollectionFlags flags, Cancellable? cancellable) throws Error
Get a new collection proxy for a collection in the secret service.
If service
is null
, then [funcService.get
] will be called to get the default [classService
]
proxy.
This method will return immediately and complete asynchronously.
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 |
callback |
called when the operation completes |
user_data |
data to be passed to the callback |