EmpathyTpCall

EmpathyTpCall

Synopsis

                    EmpathyTpCall;
enum                EmpathyTpCallStatus;
EmpathyTpCall *     empathy_tp_call_new                 (TpChannel *channel);
void                empathy_tp_call_close               (EmpathyTpCall *call);
void                empathy_tp_call_to                  (EmpathyTpCall *call,
                                                         EmpathyContact *contact,
                                                         gboolean audio,
                                                         gboolean video);
void                empathy_tp_call_accept_incoming_call
                                                        (EmpathyTpCall *call);
void                empathy_tp_call_request_video_stream_direction
                                                        (EmpathyTpCall *call,
                                                         gboolean is_sending);
void                empathy_tp_call_start_tone          (EmpathyTpCall *call,
                                                         TpDTMFEvent event);
void                empathy_tp_call_stop_tone           (EmpathyTpCall *call);
gboolean            empathy_tp_call_has_dtmf            (EmpathyTpCall *call);

Object Hierarchy

  GObject
   +----EmpathyTpCall

Properties

  "audio-stream"             gpointer              : Read
  "channel"                  TpChannel*            : Read / Write / Construct Only
  "contact"                  EmpathyContact*       : Read
  "is-incoming"              gboolean              : Read
  "status"                   guint                 : Read
  "video-stream"             gpointer              : Read

Description

Details

EmpathyTpCall

typedef struct _EmpathyTpCall EmpathyTpCall;


enum EmpathyTpCallStatus

typedef enum
{
  EMPATHY_TP_CALL_STATUS_READYING,
  EMPATHY_TP_CALL_STATUS_PENDING,
  EMPATHY_TP_CALL_STATUS_ACCEPTED,
  EMPATHY_TP_CALL_STATUS_CLOSED
} EmpathyTpCallStatus;


empathy_tp_call_new ()

EmpathyTpCall *     empathy_tp_call_new                 (TpChannel *channel);

channel :

Returns :


empathy_tp_call_close ()

void                empathy_tp_call_close               (EmpathyTpCall *call);

call :


empathy_tp_call_to ()

void                empathy_tp_call_to                  (EmpathyTpCall *call,
                                                         EmpathyContact *contact,
                                                         gboolean audio,
                                                         gboolean video);

call :

contact :

audio :

video :


empathy_tp_call_accept_incoming_call ()

void                empathy_tp_call_accept_incoming_call
                                                        (EmpathyTpCall *call);

call :


empathy_tp_call_request_video_stream_direction ()

void                empathy_tp_call_request_video_stream_direction
                                                        (EmpathyTpCall *call,
                                                         gboolean is_sending);

call :

is_sending :


empathy_tp_call_start_tone ()

void                empathy_tp_call_start_tone          (EmpathyTpCall *call,
                                                         TpDTMFEvent event);

call :

event :


empathy_tp_call_stop_tone ()

void                empathy_tp_call_stop_tone           (EmpathyTpCall *call);

call :


empathy_tp_call_has_dtmf ()

gboolean            empathy_tp_call_has_dtmf            (EmpathyTpCall *call);

call :

Returns :

Property Details

The "audio-stream" property

  "audio-stream"             gpointer              : Read

Audio stream data.


The "channel" property

  "channel"                  TpChannel*            : Read / Write / Construct Only

channel.


The "contact" property

  "contact"                  EmpathyContact*       : Read

Call contact.


The "is-incoming" property

  "is-incoming"              gboolean              : Read

Is media stream incoming.

Default value: FALSE


The "status" property

  "status"                   guint                 : Read

Call status.

Allowed values: <= 255

Default value: 0


The "video-stream" property

  "video-stream"             gpointer              : Read

Video stream data.