Item.for_dbus_path_sync


Description:

[ 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 [funcService.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.

Parameters:

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

Returns:

the new item, which should be unreferenced with [methodGObject.Object.unref]




2022 vala-language.org