supports_dbus_tubes


Description:

[ Version ( since = "0.13.0" ) ]
public bool supports_dbus_tubes (HandleType handle_type, string service_name)

If the contact_specific property is true, this function checks if the contact associated with this Capabilities supports D-Bus tubes with handle_type as TargetHandleType.

If service_name is not null, it also checks if it supports stream tubes with service as PROP_CHANNEL_TYPE_DBUS_TUBE_SERVICE_NAME.

If the contact_specific property is false, this function checks if the connection supports requesting D-Bus tube channels with handle_type as ChannelType. The service_name argument is unused in this case.

Parameters:

this

a Capabilities object

handle_type

the handle type of the tube (either CONTACT or ROOM)

service_name

the service name of the tube, or null

Returns:

true if the contact or connection supports this type of D-Bus tubes.




2022 vala-language.org