telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
TpBaseMediaCallChannelTpBaseMediaCallChannel — base class for TpSvcChannelTypeCall RTP media implementations |
#include <telepathy-glib/telepathy-glib.h> TpBaseMediaCallChannel; struct TpBaseMediaCallChannelClass; void (*TpBaseMediaCallChannelHoldStateChangedFunc) (TpBaseMediaCallChannel *self
,TpLocalHoldState hold_state
,TpLocalHoldStateReason hold_state_reason
); void (*TpBaseMediaCallChannelVoidFunc) (TpBaseMediaCallChannel *self
); TpLocalHoldState tp_base_media_call_channel_get_local_hold_state (TpBaseMediaCallChannel *channel
,TpLocalHoldStateReason *reason
);
TpBaseMediaCallChannel implements TpSvcDBusProperties, TpSvcChannel, TpChannelIface, TpExportableChannel, TpSvcChannelTypeCall, TpSvcChannelInterfaceDTMF and TpSvcChannelInterfaceHold.
typedef struct _TpBaseMediaCallChannel TpBaseMediaCallChannel;
A base class for call channel implementations with standard RTP
Since 0.17.5
struct TpBaseMediaCallChannelClass { TpBaseMediaCallChannelHoldStateChangedFunc hold_state_changed; TpBaseMediaCallChannelVoidFunc accept; };
The class structure for TpBaseMediaCallChannel
TpBaseMediaCallChannelHoldStateChangedFunc |
optional; virtual method called when the hold state changed |
TpBaseMediaCallChannelVoidFunc |
optional; virtual method called when the call is locally accepted and contents are ready. This replaces TpBaseCallChannelClass.accept. |
Since 0.17.5
void (*TpBaseMediaCallChannelHoldStateChangedFunc) (TpBaseMediaCallChannel *self
,TpLocalHoldState hold_state
,TpLocalHoldStateReason hold_state_reason
);
Signature of an implementation of TpBaseMediaCallChannelClass.hold_state_changed.
|
a TpBaseMediaCallChannel |
|
the new TpLocalHoldState |
|
the TpLocalHoldStateReason for this change |
Since 0.17.5
void (*TpBaseMediaCallChannelVoidFunc) (TpBaseMediaCallChannel *self
);
Signature of an implementation of TpBaseMediaCallChannelClass.accept.
|
a TpBaseMediaCallChannel |
Since 0.17.5
TpLocalHoldState tp_base_media_call_channel_get_local_hold_state (TpBaseMediaCallChannel *channel
,TpLocalHoldStateReason *reason
);
|
a TpBaseMediaCallChannel |
|
pointer to a location where to store the reason , or NULL
|
Returns : |
The current hold state |
Since 0.17.6