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
MediaStreamType
Definition: build/TelepathyQt/_gen/constants.h:2716
QList< CallContentPtr > CallContents
Definition: call-content.h:37
static const Feature FeatureLocalHoldState
Definition: call-channel.h:45
StreamTransportType
Definition: build/TelepathyQt/_gen/constants.h:4463
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
Definition: build/TelepathyQt/_gen/types.h:320
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:101
static const Feature FeatureCallState
Definition: call-channel.h:42
Definition: call-content.h:86
static const Feature FeatureCore
Definition: call-channel.h:41
QFlags< CallFlag > CallFlags
Definition: build/TelepathyQt/_gen/constants.h:574
MediaStreamDirection
Definition: build/TelepathyQt/_gen/constants.h:2777
Definition: build/TelepathyQt/_gen/types.h:287
CallStateChangeReason
Definition: build/TelepathyQt/_gen/constants.h:2365
The CallChannel class provides an object representing a Telepathy channel of type Call...
Definition: call-channel.h:35
Definition: build/TelepathyQt/_gen/types.h:1646
LocalHoldState
Definition: build/TelepathyQt/_gen/constants.h:3466
QFlags< CallMemberFlag > CallMemberFlags
Definition: build/TelepathyQt/_gen/constants.h:650
CallState
Definition: build/TelepathyQt/_gen/constants.h:2286
Definition: build/TelepathyQt/_gen/constants.h:2394
static const Feature FeatureContents
Definition: call-channel.h:44
LocalHoldStateReason
Definition: build/TelepathyQt/_gen/constants.h:3516
The Channel class represents a Telepathy channel.
Definition: channel.h:51