|
void | streamAdded (const Tp::StreamedMediaStreamPtr &stream) |
|
void | streamRemoved (const Tp::StreamedMediaStreamPtr &stream) |
|
void | streamDirectionChanged (const Tp::StreamedMediaStreamPtr &stream, Tp::MediaStreamDirection direction, Tp::MediaStreamPendingSend pendingSend) |
|
void | streamStateChanged (const Tp::StreamedMediaStreamPtr &stream, Tp::MediaStreamState state) |
|
void | streamError (const Tp::StreamedMediaStreamPtr &stream, Tp::MediaStreamError errorCode, const QString &errorMessage) |
|
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 | ~StreamedMediaChannel () |
|
bool | awaitingLocalAnswer () const |
|
bool | awaitingRemoteAnswer () const |
|
PendingOperation * | acceptCall () |
|
PendingOperation * | hangupCall () |
|
StreamedMediaStreams | streams () const |
|
StreamedMediaStreams | streamsForType (MediaStreamType type) const |
|
PendingStreamedMediaStreams * | requestStream (const ContactPtr &contact, MediaStreamType type) |
|
PendingStreamedMediaStreams * | requestStreams (const ContactPtr &contact, QList< MediaStreamType > types) |
|
PendingOperation * | removeStream (const StreamedMediaStreamPtr &stream) |
|
PendingOperation * | removeStreams (const StreamedMediaStreams &streams) |
|
bool | handlerStreamingRequired () const |
|
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 StreamedMediaChannel class represents a Telepathy channel of type StreamedMedia.
For more details, please refer to Telepathy specification.
See Asynchronous Object Model, Shared Pointer Usage
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 CM 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 LocalHoldStatePendingHold or 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 LocalHoldStateHeld or 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()