22 #ifndef _TelepathyQt_call_channel_h_HEADER_GUARD_ 23 #define _TelepathyQt_call_channel_h_HEADER_GUARD_ 25 #ifndef IN_TP_QT_HEADER 26 #error IN_TP_QT_HEADER 29 #include <TelepathyQt/Channel> 30 #include <TelepathyQt/CallContent> 47 static CallChannelPtr create(
const ConnectionPtr &connection,
48 const QString &objectPath,
const QVariantMap &immutableProperties);
52 bool handlerStreamingRequired()
const;
54 bool hasInitialAudio()
const;
55 bool hasInitialVideo()
const;
56 QString initialAudioName()
const;
57 QString initialVideoName()
const;
58 bool hasMutableContents()
const;
64 const QString &detailedReason = QString(),
const QString &message = QString());
70 QVariantMap callStateDetails()
const;
73 Contacts remoteMembers()
const;
79 CallContentPtr contentByName(
const QString &contentName)
const;
94 void remoteMemberFlagsChanged(
95 const QHash<Tp::ContactPtr, Tp::CallMemberFlags> &remoteMemberFlags,
97 void remoteMembersRemoved(
const Tp::Contacts &remoteMembers,
101 void contentAdded(
const Tp::CallContentPtr &content);
109 const QString &objectPath,
const QVariantMap &immutableProperties,
116 TP_QT_NO_EXPORT
void onCallStateChanged(uint state, uint flags,
127 TP_QT_NO_EXPORT
void onContentAdded(
const QDBusObjectPath &contentPath);
128 TP_QT_NO_EXPORT
void onContentRemoved(
const QDBusObjectPath &contentPath,
132 TP_QT_NO_EXPORT
void gotLocalHoldState(QDBusPendingCallWatcher *);
133 TP_QT_NO_EXPORT
void onLocalHoldStateChanged(uint, uint);
138 TP_QT_NO_EXPORT CallContentPtr addContent(
const QDBusObjectPath &contentPath);
139 TP_QT_NO_EXPORT CallContentPtr lookupContent(
const QDBusObjectPath &contentPath)
const;
142 friend struct Private;
static const Feature FeatureCallMembers
Definition: call-channel.h:43
Definition: build/TelepathyQt/_gen/types.h:109
The Channel class represents a Telepathy channel.
Definition: channel.h:51
CallStateChangeReason
Definition: build/TelepathyQt/_gen/constants.h:2365
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
Definition: build/TelepathyQt/_gen/constants.h:2394
QList< CallContentPtr > CallContents
Definition: call-content.h:37
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
static const Feature FeatureLocalHoldState
Definition: call-channel.h:45
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
static const Feature FeatureCore
Definition: call-channel.h:41
Definition: call-content.h:86
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
QFlags< CallMemberFlag > CallMemberFlags
Definition: build/TelepathyQt/_gen/constants.h:650
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
StreamTransportType
Definition: build/TelepathyQt/_gen/constants.h:4463
QFlags< CallFlag > CallFlags
Definition: build/TelepathyQt/_gen/constants.h:574
Definition: build/TelepathyQt/_gen/types.h:336
static const Feature FeatureCallState
Definition: call-channel.h:42
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
The CallChannel class provides an object representing a Telepathy channel of type Call.
Definition: call-channel.h:35
Definition: build/TelepathyQt/_gen/types.h:1677
static const Feature FeatureContents
Definition: call-channel.h:44
Definition: build/TelepathyQt/_gen/types.h:302
Definition: abstract-adaptor.cpp:31
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45