[ CCode ( has_construct_function = false ) ]
public Item.for_dbus_path_sync (Service? service, string item_path, ItemFlags flags, Cancellable? cancellable = null) throws Error
Get a new item proxy for a secret item in the secret service.
If service is null, then [func@Service.get_sync] will be called to get the default [
class@Service] proxy.
This method may block indefinitely and should not be used in user interface threads.
| service |
a secret service object |
| item_path |
the D-Bus path of the item |
| flags |
initialization flags for the new item |
| cancellable |
optional cancellation object |
|
the new item, which should be unreferenced with [method@GObject.Object.unref] |