unlock_dbus_paths


Description:

public async int unlock_dbus_paths (string[] paths, Cancellable? cancellable, out string[]? unlocked) throws Error

Unlock items or collections in the secret service.

The items or collections are represented by their D-Bus object paths. If you already have [classItem] and [class Collection] proxy objects, use use [methodService.unlock] instead.

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

This method returns immediately and completes asynchronously. The secret service may prompt the user. [methodService.prompt] will be used to handle any prompts that show up.

Parameters:

this

the secret service

paths

the D-Bus paths for items or collections to unlock

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback




2022 vala-language.org