Home · Modules · All Classes · All Namespaces
Public Member Functions | Protected Member Functions | List of all members
Tp::ContactCapabilities Class Reference

The ContactCapabilities class represents the capabilities of a Contact. More...

#include <TelepathyQt/ContactCapabilities>

Inherits Tp::CapabilitiesBase.

Public Member Functions

 ContactCapabilities ()
 
virtual ~ContactCapabilities ()
 
bool dbusTubes (const QString &serviceName) const
 
QStringList dbusTubeServices () const
 
bool streamTubes (const QString &service) const
 
QStringList streamTubeServices () const
 
- Public Member Functions inherited from Tp::CapabilitiesBase
 CapabilitiesBase ()
 
 CapabilitiesBase (const CapabilitiesBase &other)
 
virtual ~CapabilitiesBase ()
 
CapabilitiesBaseoperator= (const CapabilitiesBase &other)
 
RequestableChannelClassSpecList allClassSpecs () const
 
bool isSpecificToContact () const
 
bool textChats () const
 
bool audioCalls () const
 
bool videoCalls () const
 
bool videoCallsWithAudio () const
 
bool upgradingCalls () const
 
bool streamedMediaCalls () const
 
bool streamedMediaAudioCalls () const
 
bool streamedMediaVideoCalls () const
 
bool streamedMediaVideoCallsWithAudio () const
 
bool upgradingStreamedMediaCalls () const
 
bool fileTransfers () const
 

Protected Member Functions

 ContactCapabilities (bool specificToContact)
 
 ContactCapabilities (const RequestableChannelClassList &rccs, bool specificToContact)
 
 ContactCapabilities (const RequestableChannelClassSpecList &rccSpecs, bool specificToContact)
 
- Protected Member Functions inherited from Tp::CapabilitiesBase
 CapabilitiesBase (bool specificToContact)
 
 CapabilitiesBase (const RequestableChannelClassList &rccs, bool specificToContact)
 
 CapabilitiesBase (const RequestableChannelClassSpecList &rccSpecs, bool specificToContact)
 
virtual void updateRequestableChannelClasses (const RequestableChannelClassList &rccs)
 

Detailed Description

The ContactCapabilities class represents the capabilities of a Contact.

Constructor & Destructor Documentation

◆ ContactCapabilities() [1/4]

Tp::ContactCapabilities::ContactCapabilities ( )

Construct a new ContactCapabilities object.

◆ ~ContactCapabilities()

Tp::ContactCapabilities::~ContactCapabilities ( )
virtual

Class destructor.

◆ ContactCapabilities() [2/4]

Tp::ContactCapabilities::ContactCapabilities ( bool  specificToContact)
protected

Construct a new ContactCapabilities object.

◆ ContactCapabilities() [3/4]

Tp::ContactCapabilities::ContactCapabilities ( const RequestableChannelClassList rccs,
bool  specificToContact 
)
protected

Construct a new ContactCapabilities object using the give rccs.

Parameters
rccsRequestableChannelClassList representing the capabilities of a contact.

◆ ContactCapabilities() [4/4]

Tp::ContactCapabilities::ContactCapabilities ( const RequestableChannelClassSpecList rccSpecs,
bool  specificToContact 
)
protected

Construct a new ContactCapabilities object using the give rccSpecs.

Parameters
rccSpecsRequestableChannelClassList representing the capabilities of a contact.

Member Function Documentation

◆ dbusTubes()

bool Tp::ContactCapabilities::dbusTubes ( const QString &  serviceName) const

Returns whether creating a DBusTube channel with the given service targeting this contact is expected to succeed.

Returns
true if supported, false otherwise.

◆ dbusTubeServices()

QStringList Tp::ContactCapabilities::dbusTubeServices ( ) const

Return the supported DBusTube services.

Returns
A list of supported DBusTube services.

◆ streamTubes()

bool Tp::ContactCapabilities::streamTubes ( const QString &  service) const

Return whether creating a StreamTube channel, using the given service, by providing a contact identifier is supported.

Returns
true if supported, false otherwise.

◆ streamTubeServices()

QStringList Tp::ContactCapabilities::streamTubeServices ( ) const

Return the supported StreamTube services.

Returns
A list of supported StreamTube services.