get_status


Description:

[ Version ( since = "0.19.1" ) ]
public ConnectionStatus get_status ()

Return the status of this connection, as set by change_status or similar functions like tp_base_connection_disconnect_with_dbus_error.

Like the corresponding D-Bus property, this method returns DISCONNECTED in two situations: either the connection is newly-created (and has never emitted TpSvcConnection::status-changed), or D-Bus clients have already been told that it has been destroyed (by the Disconnect D-Bus method, a failed attempt to connect, or loss of an established connection). Use is_destroyed to distinguish between the two.

Parameters:

this

the connection

Returns:

the value of TpBaseConnection:dbus-statuss