is_destroyed


Description:

[ Version ( since = "0.19.1" ) ]
public bool is_destroyed ()

Return whether this connection has already emitted the D-Bus signal indicating that it has been destroyed.

In particular, this can be used to distinguish between the two reasons why get_status would return DISCONNECTED: it will return false if the connection is newly-created, and true if the Disconnect D-Bus method has been called, an attempt to connect has failed, or an established connection has encountered an error.

Parameters:

this

the connection

Returns:

true if this connection is disappearing from D-Bus