Service.open

void open(gobject.types.GType serviceGtype, string serviceBusName, secret.types.ServiceFlags flags, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Create a new #SecretService proxy for the Secret Service.

This function is rarely used, see [secret.service.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.

Parameters

serviceGtypethe GType of the new secret service
serviceBusNamethe D-Bus service name of the secret service
flagsflags for which service functionality to ensure is initialized
cancellableoptional cancellation object
callbackcalled when the operation completes