new_async


Description:

public static async RemoteSettings new_async (Connection? bus, Cancellable? cancellable) throws Error

Creates a new object representing the remote settings service and begins asynchronously initializing it.

callback will be called when it is done; use new_async.end to get the result.

Parameters:

bus

a valid and connected D-Bus connection

cancellable

a Cancellable, or null

callback

callback to call when the settings object is created

user_data

data for callback




2022 vala-language.org