[ Version ( since = "3.26" ) ]
public async bool set_online (bool online, int io_priority, Cancellable? cancellable = null) throws Error
An asynchronous variant of set_online_sync.
Call set_online.end from within the callback
.
this | |
online |
true for online, false for offline |
io_priority |
the I/O priority for the request |
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 |