lock_dbus_paths


Description:

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

Lock 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 [classCollection ] proxy objects, use use [methodService.lock] instead.

The secret service may not be able to lock items individually, and may lock 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 lock

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback