disconnect_async


Description:

[ Version ( since = "0.17.5" ) ]
public async bool disconnect_async () throws Error

Disconnect the connection.

This method is intended for use by AccountManager implementations, such as Mission Control. To disconnect a connection managed by an AccountManager, either use request_presence_async or set_enabled_async, depending whether the intention is to put the account offline temporarily, or disable it longer-term.

Parameters:

this

a Connection

callback

a callback to call when the request is satisfied

user_data

data to pass to callback