Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions

Tp::ConnectionCapabilities Class Reference
[Connection proxies]

The ConnectionCapabilities class provides an object representing the capabilities of a Connection. More...

#include <TelepathyQt4/ConnectionCapabilities>

Inherits Tp::CapabilitiesBase.

List of all members.

Public Member Functions


Detailed Description

The ConnectionCapabilities class provides an object representing the capabilities of a Connection.


Constructor & Destructor Documentation

Tp::ConnectionCapabilities::~ConnectionCapabilities (  )  [virtual]

Class destructor.


Member Function Documentation

bool Tp::ConnectionCapabilities::supportsTextChatrooms (  )  const

Return true if named text chatrooms can be joined by providing a chatroom identifier.

If the protocol is such that chatrooms can be joined, but only via a more elaborate D-Bus API than normal (because more information is needed), then this method will return false.

Returns:
true if Account::ensureTextChatroom() can be expected to work.
bool Tp::ConnectionCapabilities::supportsConferenceMediaCalls ( bool  withInitialInvitees = true  )  const

Return whether creating conference media calls is supported.

Parameters:
withInitialInvitees If true (the default), check if it is possible to invite new contacts when creating a conference media call channel by providing additional members to initial invitees (as opposed to merging several channels into one new conference channel). If providing additional members is supported, it is also possible to request conference media calls with fewer than two (even zero) already established media calls; if false, skip this check.
Returns:
true if supported, false otherwise.
bool Tp::ConnectionCapabilities::supportsConferenceTextChats ( bool  withInitialInvitees = true  )  const

Return whether creating conference text chats is supported.

Parameters:
withInitialInvitees If true (the default), check if it is possible to invite new contacts when creating a conference text chat channel by providing additional members to initial invitees (as opposed to merging several channels into one new conference channel). If providing additional members is supported, it is also possible to request conference text chats with fewer than two (even zero) already established text chats; if false, skip this check.
Returns:
true if supported, false otherwise.
bool Tp::ConnectionCapabilities::supportsConferenceTextChatrooms ( bool  withInitialInvitees = true  )  const

Return whether creating conference text chat rooms is supported.

Parameters:
withInitialInvitees If true (the default), check if it is possible to invite new contacts when creating a conference text chat room channel by providing additional members to initial invitees (as opposed to merging several channels into one new conference channel). If providing additional members is supported, it is also possible to request conferences text chat rooms with fewer than two (even zero) already established text chat rooms; if false, skip this check.
Returns:
true if supported, false otherwise.
bool Tp::ConnectionCapabilities::supportsContactSearch (  ) 

Return whether creating a ContactSearch channel is supported.

Returns:
true if supported, false otherwise.
bool Tp::ConnectionCapabilities::supportsContactSearchWithSpecificServer (  )  const

Return whether creating a ContactSearch channel specifying a server is supported.

Returns:
true if supported, false otherwise.
bool Tp::ConnectionCapabilities::supportsContactSearchWithLimit (  )  const

Return whether creating a ContactSearch channel specifying a limit is supported.

Returns:
true if supported, false otherwise.


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.3.12