Service.lock
void lock(gio.dbus_proxy.DBusProxy[] objects, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)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 service is null, then [secret.service.Service.get] will be called to get the default classService proxy.
This method returns immediately and completes asynchronously. The secret service may prompt the user. [secret.service.Service.prompt] will be used to handle any prompts that show up.
Parameters
objects | the items or collections to lock |
cancellable | optional cancellation object |
callback | called when the operation completes |