Home · All Classes · All Namespaces · Modules · Functions · Files |
#include <TelepathyQt/CallContent>
Inherits Tp::AbstractInterface.
Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content".
Tp::Client::CallContentInterface::CallContentInterface | ( | const QString & | busName, |
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallContentInterface 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::CallContentInterface::CallContentInterface | ( | const QDBusConnection & | connection, |
const QString & | busName, | ||
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallContentInterface 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. |
Creates a CallContentInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
static QLatin1String Tp::Client::CallContentInterface::staticInterfaceName | ( | ) | [inline, static] |
Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content", which this class represents.
Tp::PendingVariant* Tp::Client::CallContentInterface::requestPropertyInterfaces | ( | ) | const [inline] |
Asynchronous getter for the remote object property Interfaces
of type QStringList
.
Extra interfaces provided by this content, such as CallContentInterfaceMediaInterface , ChannelInterfaceHoldInterface or org.freedesktop.Telepathy.Call1.Interface.Mute . This SHOULD NOT include the Content interface itself, and cannot change once the content has been created.
Tp::PendingVariant* Tp::Client::CallContentInterface::requestPropertyName | ( | ) | const [inline] |
Asynchronous getter for the remote object property Name
of type QString
.
The name of the content.
Tp::PendingVariant* Tp::Client::CallContentInterface::requestPropertyType | ( | ) | const [inline] |
Asynchronous getter for the remote object property Type
of type uint
.
The media type of this content.
Tp::PendingVariant* Tp::Client::CallContentInterface::requestPropertyDisposition | ( | ) | const [inline] |
Asynchronous getter for the remote object property Disposition
of type uint
.
The disposition of this content.
Tp::PendingVariant* Tp::Client::CallContentInterface::requestPropertyStreams | ( | ) | const [inline] |
Asynchronous getter for the remote object property Streams
of type Tp::ObjectPathList
.
The list of CallStreamInterface objects that exist in this content.
Change notification is through the StreamsAdded() and StreamsRemoved() signals.
Tp::PendingVariantMap* Tp::Client::CallContentInterface::requestAllProperties | ( | ) | const [inline] |
Request all of the DBus properties on the interface.
QDBusPendingReply Tp::Client::CallContentInterface::Remove | ( | int | timeout = -1 | ) | [inline, slot] |
Begins a call to the D-Bus method Remove
on the remote object.
Remove the content from the call. This will cause Call1.ContentRemoved((self_handle, User_Requested, "", "")) to be emitted.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
timeout | The timeout in milliseconds. |
void Tp::Client::CallContentInterface::StreamsAdded | ( | const Tp::ObjectPathList & | streams | ) | [signal] |
Represents the signal StreamsAdded
on the remote object.
Emitted when streams are added to a call.
streams | The Streams which were added. |
void Tp::Client::CallContentInterface::StreamsRemoved | ( | const Tp::ObjectPathList & | streams, |
const Tp::CallStateReason & | reason | ||
) | [signal] |
Represents the signal StreamsRemoved
on the remote object.
Emitted when streams are removed from a call
streams | The Streams which were removed. |
reason | Why the content was removed. |
void Tp::Client::CallContentInterface::invalidate | ( | Tp::DBusProxy * | proxy, |
const QString & | error, | ||
const QString & | message | ||
) | [protected, virtual] |
Reimplemented from Tp::AbstractInterface.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.3 |