|
void | callStateChanged (Tp::CallState state) |
|
void | callFlagsChanged (Tp::CallFlags flags) |
|
void | remoteMemberFlagsChanged (const QHash< Tp::ContactPtr, Tp::CallMemberFlags > &remoteMemberFlags, const Tp::CallStateReason &reason) |
|
void | remoteMembersRemoved (const Tp::Contacts &remoteMembers, const Tp::CallStateReason &reason) |
|
void | contentAdded (const Tp::CallContentPtr &content) |
|
void | contentRemoved (const Tp::CallContentPtr &content, const Tp::CallStateReason &reason) |
|
void | localHoldStateChanged (Tp::LocalHoldState state, Tp::LocalHoldStateReason reason) |
|
void | groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed) |
|
void | groupCanAddContactsChanged (bool canAddContacts) |
|
void | groupCanRemoveContactsChanged (bool canRemoveContacts) |
|
void | groupCanRescindContactsChanged (bool canRescindContacts) |
|
void | groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details) |
|
void | groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed) |
|
void | groupSelfContactChanged () |
|
void | conferenceChannelMerged (const Tp::ChannelPtr &channel) |
|
void | conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details) |
|
void | invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage) |
|
void | propertyChanged (const QString &propertyName) |
|
|
virtual | ~CallChannel () |
|
bool | handlerStreamingRequired () const |
|
StreamTransportType | initialTransportType () const |
|
bool | hasInitialAudio () const |
|
bool | hasInitialVideo () const |
|
QString | initialAudioName () const |
|
QString | initialVideoName () const |
|
bool | hasMutableContents () const |
|
PendingOperation * | setRinging () |
|
PendingOperation * | setQueued () |
|
PendingOperation * | accept () |
|
PendingOperation * | hangup (CallStateChangeReason reason=CallStateChangeReasonUserRequested, const QString &detailedReason=QString(), const QString &message=QString()) |
|
CallState | callState () const |
|
CallFlags | callFlags () const |
|
CallStateReason | callStateReason () const |
|
QVariantMap | callStateDetails () const |
|
Contacts | remoteMembers () const |
|
CallMemberFlags | remoteMemberFlags (const ContactPtr &member) const |
|
CallContents | contents () const |
|
CallContents | contentsForType (MediaStreamType type) const |
|
CallContentPtr | contentByName (const QString &contentName) const |
|
PendingCallContent * | requestContent (const QString &name, MediaStreamType type, MediaStreamDirection direction) |
|
LocalHoldState | localHoldState () const |
|
LocalHoldStateReason | localHoldStateReason () const |
|
PendingOperation * | requestHold (bool hold) |
|
virtual | ~Channel () |
|
ConnectionPtr | connection () const |
|
QVariantMap | immutableProperties () const |
|
QString | channelType () const |
|
HandleType | targetHandleType () const |
|
uint | targetHandle () const |
|
QString | targetId () const |
|
ContactPtr | targetContact () const |
|
bool | isRequested () const |
|
ContactPtr | initiatorContact () const |
|
PendingOperation * | requestClose () |
|
PendingOperation * | requestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone) |
|
bool | isConference () const |
|
Contacts | conferenceInitialInviteeContacts () const |
|
QList< ChannelPtr > | conferenceChannels () const |
|
QList< ChannelPtr > | conferenceInitialChannels () const |
|
QHash< uint, ChannelPtr > | conferenceOriginalChannels () const |
|
bool | supportsConferenceMerging () const |
|
PendingOperation * | conferenceMergeChannel (const ChannelPtr &channel) |
|
bool | supportsConferenceSplitting () const |
|
PendingOperation * | conferenceSplitChannel () |
|
ChannelGroupFlags | groupFlags () const |
|
bool | groupCanAddContacts () const |
|
bool | groupCanAddContactsWithMessage () const |
|
bool | groupCanAcceptContactsWithMessage () const |
|
PendingOperation * | groupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString()) |
|
bool | groupCanRescindContacts () const |
|
bool | groupCanRescindContactsWithMessage () const |
|
bool | groupCanRemoveContacts () const |
|
bool | groupCanRemoveContactsWithMessage () const |
|
bool | groupCanRejectContactsWithMessage () const |
|
bool | groupCanDepartWithMessage () const |
|
PendingOperation * | groupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone) |
|
Contacts | groupContacts (bool includeSelfContact=true) const |
|
Contacts | groupLocalPendingContacts (bool includeSelfContact=true) const |
|
Contacts | groupRemotePendingContacts (bool includeSelfContact=true) const |
|
GroupMemberChangeDetails | groupLocalPendingContactChangeInfo (const ContactPtr &contact) const |
|
GroupMemberChangeDetails | groupSelfContactRemoveInfo () const |
|
bool | groupAreHandleOwnersAvailable () const |
|
HandleOwnerMap | groupHandleOwners () const |
|
bool | groupIsSelfContactTracked () const |
|
ContactPtr | groupSelfContact () const |
|
| StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore) |
|
virtual | ~StatefulDBusProxy () |
|
| DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore) |
|
virtual | ~DBusProxy () |
|
QDBusConnection | dbusConnection () const |
|
QString | busName () const |
|
QString | objectPath () const |
|
bool | isValid () const |
|
QString | invalidationReason () const |
|
QString | invalidationMessage () const |
|
virtual | ~Object () |
|
| RefCounted () |
|
virtual | ~RefCounted () |
|
| ReadyObject (RefCounted *object, const Feature &featureCore) |
|
| ReadyObject (DBusProxy *proxy, const Feature &featureCore) |
|
virtual | ~ReadyObject () |
|
virtual bool | isReady (const Features &features=Features()) const |
|
virtual PendingReady * | becomeReady (const Features &requestedFeatures=Features()) |
|
virtual Features | requestedFeatures () const |
|
virtual Features | actualFeatures () const |
|
virtual Features | missingFeatures () const |
|
| OptionalInterfaceFactory (Channel *this_) |
|
| ~OptionalInterfaceFactory () |
|
QStringList | interfaces () const |
|
bool | hasInterface (const QString &name) const |
|
Interface * | optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const |
|
Interface * | interface () const |
|
The CallChannel class provides an object representing a Telepathy channel of type Call.
Request that the channel be put on hold (be instructed not to send any media streams to you) or be taken off hold.
If the connection manager can immediately tell that the requested state change could not possibly succeed, the resulting PendingOperation will fail with error code TP_QT_ERROR_NOT_AVAILABLE. If the requested state is the same as the current state, the resulting PendingOperation will finish successfully.
Otherwise, the channel's local hold state will change to Tp::LocalHoldStatePendingHold or Tp::LocalHoldStatePendingUnhold (as appropriate), then the resulting PendingOperation will finish successfully.
The eventual success or failure of the request is indicated by a subsequent localHoldStateChanged() signal, changing the local hold state to Tp::LocalHoldStateHeld or Tp::LocalHoldStateUnheld.
If the channel has multiple streams, and the connection manager succeeds in changing the hold state of one stream but fails to change the hold state of another, it will attempt to revert all streams to their previous hold states.
If the channel does not support the TP_QT_IFACE_CHANNEL_INTERFACE_HOLD interface, the PendingOperation will fail with error code TP_QT_ERROR_NOT_IMPLEMENTED.
- Parameters
-
hold | A boolean indicating whether or not the channel should be on hold |
- Returns
- A PendingOperation, which will emit PendingOperation::finished when the request finishes.
- See also
- localHoldState(), localHoldStateReason(), localHoldStateChanged()