[ Version ( since = "1.58" ) ]
public async bool set_managed_async (DeviceManaged managed, DeviceManagedFlags flags, Cancellable? cancellable) throws Error
Asynchronously begins setting the managed state of the device.
With the flags argument different behaviors can be achieved, such as persisting the state to disk or matching the device by MAC address.
| this |
a Device |
| managed |
the managed state |
| flags |
the flags argument. See DeviceManagedFlags. |
| cancellable |
a Cancellable, or null |
| callback |
callback to be called when the set_managed operation completes |
| user_data |
caller-specific data passed to |