get_bus_name


Description:

[ Version ( since = "0.19.1" ) ]
public unowned string? get_bus_name ()

Return the bus name starting with CONN_BUS_NAME_BASE that represents this connection on D-Bus.

The returned string belongs to the BaseConnection and must be copied by the caller if it will be kept.

If this connection has never been present on D-Bus (tp_base_connection_register() has never been called), return null instead.

Parameters:

this

the connection

Returns:

the bus name of this connection, or null