supports_stream_tubes


Description:

[ Version ( since = "0.13.0" ) ]
public bool supports_stream_tubes (HandleType handle_type, string service)

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

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

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

Parameters:

this

a Capabilities object

handle_type

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

service

the service of the tube, or null

Returns:

true if the contact or connection supports this type of stream tubes.