| Home · All Classes · All Namespaces · Modules · Functions · Files | 
The SimpleCallObserver class provides an easy way to track calls in an account and can be optionally filtered by a contact and/or call direction. More...
#include <TelepathyQt/SimpleCallObserver>
Inherits Tp::RefCounted.
The SimpleCallObserver class provides an easy way to track calls in an account and can be optionally filtered by a contact and/or call direction.
| Tp::SimpleCallObserver::~SimpleCallObserver | ( | ) |  [virtual] | 
Class destructor.
| SimpleCallObserverPtr Tp::SimpleCallObserver::create | ( | const AccountPtr & | account, | 
| CallDirection | direction = CallDirectionBoth | ||
| ) |  [static] | 
Create a new SimpleCallObserver object.
Events will be signalled for all calls in account that respect direction.
| account | The account used to listen to events. | 
| direction | The direction of the calls used to filter events. | 
| SimpleCallObserverPtr Tp::SimpleCallObserver::create | ( | const AccountPtr & | account, | 
| const ContactPtr & | contact, | ||
| CallDirection | direction = CallDirectionBoth | ||
| ) |  [static] | 
Create a new SimpleCallObserver object.
Events will be signalled for all calls in account established with contact and that respect direction.
| account | The account used to listen to events. | 
| contact | The contact used to filter events. | 
| direction | The direction of the calls used to filter events. | 
| SimpleCallObserverPtr Tp::SimpleCallObserver::create | ( | const AccountPtr & | account, | 
| const QString & | contactIdentifier, | ||
| CallDirection | direction = CallDirectionBoth | ||
| ) |  [static] | 
Create a new SimpleCallObserver object.
Events will be signalled for all calls in account established with a contact identified by contactIdentifier and that respect direction.
| account | The account used to listen to events. | 
| contactIdentifier | The identifier of the contact used to filter events. | 
| direction | The direction of the calls used to filter events. | 
| AccountPtr Tp::SimpleCallObserver::account | ( | ) | const | 
Return the account used to listen to events.
| QString Tp::SimpleCallObserver::contactIdentifier | ( | ) | const | 
Return the identifier of the contact used to filter events, or an empty string if none was provided at construction.
Return the direction of the calls used to filter events.
| QList< CallChannelPtr > Tp::SimpleCallObserver::calls | ( | ) | const | 
Return the list of calls currently being observed.
| QList< StreamedMediaChannelPtr > Tp::SimpleCallObserver::streamedMediaCalls | ( | ) | const | 
Return the list of streamed media calls currently being observed.
| void Tp::SimpleCallObserver::callStarted | ( | const Tp::CallChannelPtr & | channel | ) |  [signal] | 
Emitted whenever a call that matches this observer's criteria is started.
| channel | The channel representing the call that started. | 
| void Tp::SimpleCallObserver::callEnded | ( | const Tp::CallChannelPtr & | channel, | 
| const QString & | errorName, | ||
| const QString & | errorMessage | ||
| ) |  [signal] | 
Emitted whenever a call that matches this observer's criteria has ended.
| channel | The channel representing the call that ended. | 
| errorName | A D-Bus error name (a string in a subset of ASCII, prefixed with a reversed domain name). | 
| errorMessage | A debugging message associated with the error. | 
| void Tp::SimpleCallObserver::streamedMediaCallStarted | ( | const Tp::StreamedMediaChannelPtr & | channel | ) |  [signal] | 
Emitted whenever a streamed media call that matches this observer's criteria is started.
| channel | The channel representing the streamed media call that started. | 
| void Tp::SimpleCallObserver::streamedMediaCallEnded | ( | const Tp::StreamedMediaChannelPtr & | channel, | 
| const QString & | errorName, | ||
| const QString & | errorMessage | ||
| ) |  [signal] | 
Emitted whenever a streamed media call that matches this observer's criteria has ended.
| channel | The channel representing the streamed media call that ended. | 
| errorName | A D-Bus error name (a string in a subset of ASCII, prefixed with a reversed domain name). | 
| errorMessage | A debugging message associated with the error. | 
| Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.3 |