[ CCode ( cname = "secret_item_new_for_dbus_path" , has_construct_function = false ) ]
public async Item.for_dbus_path (Service? service, string item_path, ItemFlags flags, Cancellable? cancellable) throws Error
Get a new item proxy for a secret item 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.
service |
a secret service object |
item_path |
the D-Bus path of the collection |
flags |
initialization flags for the new item |
cancellable |
optional cancellation object |
callback |
called when the operation completes |
user_data |
data to be passed to the callback |