Service.open

Create a new #SecretService proxy for the Secret Service.

This function is rarely used, see secret_service_get() instead.

The @service_gtype argument should be set to %SECRET_TYPE_SERVICE or a the type of a derived class.

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

If @service_bus_name is %NULL then the default is used.

This method will return immediately and complete asynchronously.

class Service
static
void
open
(,,
SecretServiceFlags flags
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

serviceGtype GType

the GType of the new secret service

serviceBusName string

the D-Bus service name of the secret service

flags SecretServiceFlags

flags for which service functionality to ensure is initialized

cancellable Cancellable

optional cancellation object

callback GAsyncReadyCallback

called when the operation completes

userData void*

data to be passed to the callback

Meta