add_connection_unsaved


Description:

[ Version ( since = "0.9.10" ) ]
public bool add_connection_unsaved (Connection connection, RemoteSettingsAddConnectionFunc callback)

Requests that the remote settings service add the given settings to a new connection.

The connection is not written to disk, which may be done at a later time by calling the connection's commit_changes method.

Parameters:

this

the RemoteSettings

connection

the connection to add. Note that this object's settings will be added, not the object itself

callback

callback to be called when the add operation completes

user_data

caller-specific data passed to callback

Returns:

true if the request was successful, false if it failed