Service.getSync

Get a #SecretService proxy for the Secret Service.

If such a proxy object already exists, then the same proxy is returned.

If flags contains any flags of which parts of the secret service to ensure are initialized, then those will be initialized before returning.

This method may block indefinitely and should not be used in user interface threads.

Parameters

flags secret.types.ServiceFlags

flags for which service functionality to ensure is initialized

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: secret.service.Service

a new reference to a #SecretService proxy, which should be released with gobject.object.ObjectG.unref.