Service.unlockSync

int unlockSync(gio.dbus_proxy.DBusProxy[] objects, gio.cancellable.Cancellable cancellable, out gio.dbus_proxy.DBusProxy[] unlocked)

Unlock items or collections in the secret service.

The secret service may not be able to unlock items individually, and may unlock an entire collection instead.

If service is null, then [secret.service.Service.getSync] will be called to get the default classService proxy.

This method may block indefinitely and should not be used in user interface threads. The secret service may prompt the user. [secret.service.Service.prompt] will be used to handle any prompts that show up.

Parameters

objectsthe items or collections to unlock
cancellableoptional cancellation object
unlockedlocation to place list of items or collections that were unlocked

Returns

the number of items or collections that were unlocked

Throws

[ErrorWrap]