disconnect_async


Description:

public async bool disconnect_async (Cancellable? cancellable) throws Error

Asynchronously begins disconnecting the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection request.

Parameters:

this

a Device

cancellable

a Cancellable, or null

callback

callback to be called when the disconnect operation completes

user_data

caller-specific data passed to callback