[ Version ( deprecated = true , deprecated_since = "1.22" ) ]
public bool disconnect (Cancellable? cancellable = null) throws Error
Warning: disconnect is deprecated since 1.22.
Disconnects the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection request.
Use disconnect_async or GDBusConnection.
this |
a Device |
cancellable |
a Cancellable, or null |
true on success, false on error, in which case throws will be set. |