The ContactCapabilities class represents the capabilities of a Contact.
More...
#include <TelepathyQt/ContactCapabilities>
The ContactCapabilities class represents the capabilities of a Contact.
§ ContactCapabilities() [1/4]
Tp::ContactCapabilities::ContactCapabilities |
( |
| ) |
|
§ ~ContactCapabilities()
Tp::ContactCapabilities::~ContactCapabilities |
( |
| ) |
|
|
virtual |
§ ContactCapabilities() [2/4]
Tp::ContactCapabilities::ContactCapabilities |
( |
bool |
specificToContact | ) |
|
|
protected |
§ ContactCapabilities() [3/4]
Construct a new ContactCapabilities object using the give rccs.
- Parameters
-
rccs | RequestableChannelClassList representing the capabilities of a contact. |
§ ContactCapabilities() [4/4]
Construct a new ContactCapabilities object using the give rccSpecs.
- Parameters
-
rccSpecs | RequestableChannelClassList representing the capabilities of a contact. |
§ 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.