unlock_sync


Description:

public int unlock_sync (List<DBusProxy> objects, Cancellable? cancellable, out List<DBusProxy>? unlocked) throws Error

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 this is null, then [funcService.get_sync] 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. [method Service.prompt] will be used to handle any prompts that show up.

Parameters:

this

the secret service

objects

the items or collections to unlock

cancellable

optional cancellation object

unlocked

location to place list of items or collections that were unlocked

Returns:

the number of items or collections that were unlocked




2022 vala-language.org