reapply


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" , since = "1.2" ) ]
public bool reapply (Connection? connection, uint64 version_id, uint32 flags, Cancellable? cancellable = null) throws Error

Warning: reapply is deprecated since 1.22.

Attempts to update device with changes to the currently active connection made since it was last applied.

Note:

Use reapply_async or GDBusConnection.

Parameters:

this

a Device

connection

the Connection to replace the applied settings with or null to reuse existing

version_id

zero or the expected version id of the applied connection. If specified and the version id mismatches, the call fails without modification. This allows to catch concurrent accesses.

flags

always set this to zero

cancellable

a Cancellable, or null

Returns:

true on success, false on error, in which case throws will be set.