@lock


Description:

public async int @lock (List<DBusProxy> objects, Cancellable? cancellable, out List<DBusProxy>? locked) throws Error

Lock items or collections in the secret service.

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

If this is null, then [funcService.get] will be called to get the default [class Service] proxy.

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

objects

the items or collections to lock

cancellable

optional cancellation object

callback

called when the operation completes

user_data

data to pass to the callback