Home · All Classes · All Namespaces · Modules · Functions · Files |
#include <TelepathyQt/CallContent>
Inherits Tp::AbstractInterface.
Public Slots | |
QDBusPendingReply | UpdateLocalMediaDescription (const QVariantMap &mediaDescription, int timeout=-1) |
QDBusPendingReply | AcknowledgeDTMFChange (uchar event, uint state, int timeout=-1) |
QDBusPendingReply | Fail (const Tp::CallStateReason &reason, int timeout=-1) |
Signals | |
void | NewMediaDescriptionOffer (const QDBusObjectPath &mediaDescription, const QVariantMap &properties) |
void | MediaDescriptionOfferDone () |
void | LocalMediaDescriptionChanged (const QVariantMap &updatedMediaDescription) |
void | RemoteMediaDescriptionsChanged (const Tp::ContactMediaDescriptionPropertiesMap &updatedMediaDescriptions) |
void | MediaDescriptionsRemoved (const Tp::UIntList &removedMediaDescriptions) |
void | DTMFChangeRequested (uchar event, uint state) |
Signals inherited from Tp::AbstractInterface | |
void | propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties) |
Static Public Member Functions | |
static QLatin1String | staticInterfaceName () |
Protected Member Functions | |
virtual void | invalidate (Tp::DBusProxy *, const QString &, const QString &) |
Protected Member Functions inherited from Tp::AbstractInterface | |
AbstractInterface (DBusProxy *proxy, const QLatin1String &interface) | |
AbstractInterface (const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent) | |
PendingVariant * | internalRequestProperty (const QString &name) const |
PendingOperation * | internalSetProperty (const QString &name, const QVariant &newValue) |
PendingVariantMap * | internalRequestAllProperties () const |
Additional Inherited Members | |
Protected Slots inherited from Tp::AbstractInterface |
Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content.Interface.Media".
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface | ( | const QString & | busName, |
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallContentInterfaceMediaInterface associated with the given object on the session bus.
busName | Name of the service the object is on. |
objectPath | Path to the object on the service. |
parent | Passed to the parent class constructor. |
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface | ( | const QDBusConnection & | connection, |
const QString & | busName, | ||
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallContentInterfaceMediaInterface associated with the given object on the given bus.
connection | The bus via which the object can be reached. |
busName | Name of the service the object is on. |
objectPath | Path to the object on the service. |
parent | Passed to the parent class constructor. |
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface | ( | Tp::DBusProxy * | proxy | ) |
Creates a CallContentInterfaceMediaInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
|
explicit |
Creates a CallContentInterfaceMediaInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.
mainInterface | The proxy to use. |
Tp::Client::CallContentInterfaceMediaInterface::CallContentInterfaceMediaInterface | ( | const Tp::Client::CallContentInterface & | mainInterface, |
QObject * | parent | ||
) |
Creates a CallContentInterfaceMediaInterface associated with the same object as the given proxy. However, a different parent object can be specified.
mainInterface | The proxy to use. |
parent | Passed to the parent class constructor. |
|
inlinestatic |
Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content.Interface.Media", which this class represents.
|
inline |
Asynchronous getter for the remote object property RemoteMediaDescriptions
of type Tp::ContactMediaDescriptionPropertiesMap
.
A map from contact handles to descriptions supported by that contact. Keys of this map will appear in at most one RemoteMembers. See RemoteContact for more details on how to map between MediaDescriptions and Streams.
|
inline |
Asynchronous getter for the remote object property LocalMediaDescriptions
of type Tp::ContactMediaDescriptionPropertiesMap
.
A map from contact handles to the descriptions the local side responsed with.
|
inline |
Asynchronous getter for the remote object property MediaDescriptionOffer
of type Tp::MediaDescriptionOffer
.
The object path to the current CallContentMediaDescriptionInterface object, its CallContentMediaDescriptionInterface::RemoteContact and a mapping of the MediaDescriptions properties. If the object path is "/" then there isn't an outstanding content description, and the mapping MUST be empty.
Change notification is via the NewMediaDescriptionOffer() and MediaDescriptionOfferDone() signals.
|
inline |
Asynchronous getter for the remote object property Packetization
of type uint
.
The packetization method in use for this content.
|
inline |
Asynchronous getter for the remote object property CurrentDTMFEvent
of type uchar
.
The currently requested DTMF event (for state-recoverability of DTMFChangeRequested). Should be ignored if CurrentDTMFState is None.
|
inline |
Asynchronous getter for the remote object property CurrentDTMFState
of type uint
.
The current DTMF state (for state-recoverability of DTMFChangeRequested).
|
inline |
Request all of the DBus properties on the interface.
|
inlineslot |
Begins a call to the D-Bus method UpdateLocalMediaDescription
on the remote object.
Update the local codec mapping and other interfaces of the MediaDescription. This method should only be used during an existing call to update the local media description. This may trigger a re-negotiation which may result in new new MediaDescriptionOffers if the "FurtherNegotiationRequired" property is TRUE. Otherwise, only parameters which strictly describe the media being sent can be changed.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
mediaDescription | The updated media description that the local side wants to use. |
timeout | The timeout in milliseconds. |
|
inlineslot |
Begins a call to the D-Bus method AcknowledgeDTMFChange
on the remote object.
Called by the streaming implementation in response to DTMFChangeRequested to confirm that it has started or stopped sending the event in question.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
event | The event referred to in the corresponding DTMFChangeRequested signal. |
state | Either Sending or None. |
timeout | The timeout in milliseconds. |
|
inlineslot |
Begins a call to the D-Bus method Fail
on the remote object.
Signal an unrecoverable error for this content, and remove it.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
reason | A reason struct describing the error. |
timeout | The timeout in milliseconds. |
|
signal |
Represents the signal NewMediaDescriptionOffer
on the remote object.
Emitted when a new CallContentMediaDescriptionInterface appears. The streaming >implementation MUST respond by calling the CallContentMediaDescriptionInterface::Accept() or CallContentMediaDescriptionInterface::Reject() method on the description object appeared.
Emission of this signal indicates that the
MediaDescriptionOffer property has
changed to
(Description, Contact, MediaDescriptionProperties)
.
When the MediaDescriptionOffer has been dealt with then CallContentInterfaceMediaInterface::MediaDescriptionOfferDone() must be emitted before CallContentInterfaceMediaInterface::NewMediaDescriptionOffer() is emitted again.
mediaDescription | The object path of the new media description. This replaces any previous media description. |
properties | The immutable properties of the remote media description. Having all the MediaDescription properties here saves a D-Bus round-trip - it shouldn't be necessary to get the properties from the MediaDescription object, in practice. |
|
signal |
Represents the signal MediaDescriptionOfferDone
on the remote object.
Emitted when a CallContentMediaDescriptionInterface has been handled.
Emission of this signal indicates that the
MediaDescriptionOffer property has
changed to
("/", 0, {})
.
|
signal |
Represents the signal LocalMediaDescriptionChanged
on the remote object.
Change notification for CallContentInterfaceMediaInterface::LocalMediaDescriptions
updatedMediaDescription |
The local content description that was updated |
|
signal |
Represents the signal RemoteMediaDescriptionsChanged
on the remote object.
Change notification for CallContentInterfaceMediaInterface::RemoteMediaDescriptions
updatedMediaDescriptions |
The remote content descriptions that were updated |
|
signal |
Represents the signal MediaDescriptionsRemoved
on the remote object.
Removal notification for CallContentInterfaceMediaInterface::RemoteMediaDescriptions and CallContentInterfaceMediaInterface::LocalMediaDescriptions
removedMediaDescriptions |
The local and remote content descriptions that are no longer part of this content |
|
signal |
Represents the signal DTMFChangeRequested
on the remote object.
Used by the CM to relay instructions from Channel.Interface.DTMF to the streaming implementation. If any contact in this call supports the telephone-event codec in their MediaDescription, this event should be sent as outlined in RFC 4733. Otherwise, it should be sent as an audible tone.
event | The event to send (or stop sending). |
state | Either Pending_Send or Pending_Stop_Sending. |
|
protectedvirtual |
Reimplemented from Tp::AbstractInterface.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.7 |