create_sources


Description:

public async bool create_sources (List<Source> list_of_sources, Cancellable? cancellable) throws Error

Asynchronously requests the D-Bus service create new key files for each Source in list_of_sources.

Each list element must be a scratch Source with no DBusObject.

When the operation is finished, callback will be called. You can then call create_sources.end to get the result of the operation.

Parameters:

this

an SourceRegistry

list_of_sources

a list of Source instances with no DBusObject

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function




2022 vala-language.org