disconnect


Description:

[ 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.

Note:

Use disconnect_async or GDBusConnection.

Parameters:

this

a Device

cancellable

a Cancellable, or null

Returns:

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




2022 vala-language.org