8 #ifndef IN_TP_QT_HEADER 12 #include <TelepathyQt/Types> 20 #include <QDBusPendingReply> 22 #include <TelepathyQt/AbstractInterface> 23 #include <TelepathyQt/DBusProxy> 24 #include <TelepathyQt/Global> 29 class PendingOperation;
57 return QLatin1String(
"org.freedesktop.Telepathy.Call1.Content.MediaDescription");
68 const QString& busName,
69 const QString& objectPath,
82 const QDBusConnection& connection,
83 const QString& busName,
84 const QString& objectPath,
110 return internalRequestProperty(QLatin1String(
"Interfaces"));
138 return internalRequestProperty(QLatin1String(
"FurtherNegotiationRequired"));
160 return internalRequestProperty(QLatin1String(
"HasRemoteInformation"));
175 return internalRequestProperty(QLatin1String(
"Codecs"));
201 return internalRequestProperty(QLatin1String(
"RemoteContact"));
242 return internalRequestProperty(QLatin1String(
"SSRCs"));
253 return internalRequestAllProperties();
275 inline QDBusPendingReply<>
Accept(
const QVariantMap& localMediaDescription,
int timeout = -1)
277 if (!invalidationReason().isEmpty()) {
278 return QDBusPendingReply<>(QDBusMessage::createError(
279 invalidationReason(),
280 invalidationMessage()
284 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
285 this->staticInterfaceName(), QLatin1String(
"Accept"));
286 callMessage << QVariant::fromValue(localMediaDescription);
287 return this->connection().asyncCall(callMessage, timeout);
306 if (!invalidationReason().isEmpty()) {
307 return QDBusPendingReply<>(QDBusMessage::createError(
308 invalidationReason(),
309 invalidationMessage()
313 QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
314 this->staticInterfaceName(), QLatin1String(
"Reject"));
315 callMessage << QVariant::fromValue(reason);
316 return this->connection().asyncCall(callMessage, timeout);
320 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
343 return QLatin1String(
"org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPExtendedReports");
354 const QString& busName,
355 const QString& objectPath,
368 const QDBusConnection& connection,
369 const QString& busName,
370 const QString& objectPath,
414 return internalRequestProperty(QLatin1String(
"LossRLEMaxSize"));
431 return internalRequestProperty(QLatin1String(
"DuplicateRLEMaxSize"));
448 return internalRequestProperty(QLatin1String(
"PacketReceiptTimesMaxSize"));
466 return internalRequestProperty(QLatin1String(
"DLRRMaxSize"));
480 return internalRequestProperty(QLatin1String(
"RTTMode"));
496 return internalRequestProperty(QLatin1String(
"StatisticsFlags"));
511 return internalRequestProperty(QLatin1String(
"EnableMetrics"));
522 return internalRequestAllProperties();
526 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
549 return QLatin1String(
"org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTCPFeedback");
560 const QString& busName,
561 const QString& objectPath,
574 const QDBusConnection& connection,
575 const QString& busName,
576 const QString& objectPath,
617 return internalRequestProperty(QLatin1String(
"FeedbackMessages"));
632 return internalRequestProperty(QLatin1String(
"DoesAVPF"));
643 return internalRequestAllProperties();
647 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
670 return QLatin1String(
"org.freedesktop.Telepathy.Call1.Content.MediaDescription.Interface.RTPHeaderExtensions");
681 const QString& busName,
682 const QString& objectPath,
695 const QDBusConnection& connection,
696 const QString& busName,
697 const QString& objectPath,
738 return internalRequestProperty(QLatin1String(
"HeaderExtensions"));
749 return internalRequestAllProperties();
753 virtual void invalidate(
Tp::DBusProxy *,
const QString &,
const QString &);
Definition: cli-call-content-media-description.h:44
QDBusPendingReply Accept(const QVariantMap &localMediaDescription, int timeout=-1)
Definition: cli-call-content-media-description.h:275
Tp::PendingVariant * requestPropertySSRCs() const
Definition: cli-call-content-media-description.h:240
Definition: cli-call-content-media-description.h:536
Tp::PendingVariant * requestPropertyDLRRMaxSize() const
Definition: cli-call-content-media-description.h:464
Tp::PendingVariant * requestPropertyFeedbackMessages() const
Definition: cli-call-content-media-description.h:615
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:55
Tp::PendingVariant * requestPropertyLossRLEMaxSize() const
Definition: cli-call-content-media-description.h:412
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:251
Tp::PendingVariant * requestPropertyHasRemoteInformation() const
Definition: cli-call-content-media-description.h:158
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:747
The AbstractInterface class is the base class for all client side D-Bus interfaces,...
Definition: abstract-interface.h:42
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Tp::PendingVariant * requestPropertyDoesAVPF() const
Definition: cli-call-content-media-description.h:630
Tp::PendingVariant * requestPropertyStatisticsFlags() const
Definition: cli-call-content-media-description.h:494
QDBusPendingReply Reject(const Tp::CallStateReason &reason, int timeout=-1)
Definition: cli-call-content-media-description.h:304
Tp::PendingVariant * requestPropertyCodecs() const
Definition: cli-call-content-media-description.h:173
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:520
Tp::PendingVariant * requestPropertyFurtherNegotiationRequired() const
Definition: cli-call-content-media-description.h:136
Tp::PendingVariant * requestPropertyInterfaces() const
Definition: cli-call-content-media-description.h:108
Definition: cli-call-content-media-description.h:330
Definition: build/TelepathyQt/_gen/types.h:336
Tp::PendingVariant * requestPropertyHeaderExtensions() const
Definition: cli-call-content-media-description.h:736
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:341
Tp::PendingVariant * requestPropertyRTTMode() const
Definition: cli-call-content-media-description.h:478
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:547
Tp::PendingVariant * requestPropertyEnableMetrics() const
Definition: cli-call-content-media-description.h:509
Tp::PendingVariantMap * requestAllProperties() const
Definition: cli-call-content-media-description.h:641
Tp::PendingVariant * requestPropertyDuplicateRLEMaxSize() const
Definition: cli-call-content-media-description.h:429
Definition: abstract-adaptor.cpp:31
Tp::PendingVariant * requestPropertyRemoteContact() const
Definition: cli-call-content-media-description.h:199
Tp::PendingVariant * requestPropertyPacketReceiptTimesMaxSize() const
Definition: cli-call-content-media-description.h:446
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Definition: cli-call-content-media-description.h:657
static QLatin1String staticInterfaceName()
Definition: cli-call-content-media-description.h:668