Home · All Classes · All Namespaces · Modules · Functions · Files
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions
Tp::Client::CallContentInterface Class Reference

#include <TelepathyQt/CallContent>

Inherits Tp::AbstractInterface.

List of all members.

Public Slots

Signals

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Content".


Constructor & Destructor Documentation

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.

Parameters:
busNameName of the service the object is on.
objectPathPath to the object on the service.
parentPassed 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.

Parameters:
connectionThe bus via which the object can be reached.
busNameName of the service the object is on.
objectPathPath to the object on the service.
parentPassed to the parent class constructor.

Creates a CallContentInterface associated with the same object as the given proxy.

Parameters:
proxyThe proxy to use. It will also be the QObject::parent() for this object.

Member Function Documentation

static QLatin1String Tp::Client::CallContentInterface::staticInterfaceName ( ) [inline, static]

Returns the name of the interface "org.freedesktop.Telepathy.Call1.Content", which this class represents.

Returns:
The D-Bus interface name.

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.

Returns:
A pending variant which will emit finished when the property has been retrieved.

Asynchronous getter for the remote object property Name of type QString.

The name of the content.

The content name property should be meaningful, so should be given a name which is significant to the user. The name could be the "audio" or "video" string localized, or perhaps include some string identifying the source, such as a webcam identifier.
Returns:
A pending variant which will emit finished when the property has been retrieved.

Asynchronous getter for the remote object property Type of type uint.

The media type of this content.

Returns:
A pending variant which will emit finished when the property has been retrieved.

Asynchronous getter for the remote object property Disposition of type uint.

The disposition of this content.

Returns:
A pending variant which will emit finished when the property has been retrieved.

Asynchronous getter for the remote object property Streams of type Tp::ObjectPathList.

The list of CallStreamInterface objects that exist in this content.

In a conference call multiple parties can share one media content (say, audio), but the streaming of that media can either be shared or separate. For example, in a multicast conference all contacts would share one stream, while in a Muji conference there would be a stream for each participant.

Change notification is through the StreamsAdded() and StreamsRemoved() signals.

Returns:
A pending variant which will emit finished when the property has been retrieved.

Request all of the DBus properties on the interface.

Returns:
A pending variant map which will emit finished when the properties have been retrieved.
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.

Parameters:
timeoutThe timeout in milliseconds.

Represents the signal StreamsAdded on the remote object.

Emitted when streams are added to a call.

Parameters:
streamsThe 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

Parameters:
streamsThe Streams which were removed.
reasonWhy 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