## TplCallEvent TplCallEvent — Representation of a call log event |

## Synopsis

                        TplCallEvent;
                        TplCallEventClass;
                        TplCallEventPriv;
    const gchar *       tpl_call_event_get_detailed_end_reason
                                                            (TplCallEvent *self);
    GTimeSpan           tpl_call_event_get_duration         (TplCallEvent *self);
    TplEntity *         tpl_call_event_get_end_actor        (TplCallEvent *self);
    TpCallStateChangeReason tpl_call_event_get_end_reason   (TplCallEvent *self);

## Object Hierarchy

      GObject
       +----TplEvent
             +----TplCallEvent

## Properties

      "detailed-end-reason"      gchar*                : Read / Write / Construct Only
      "duration"                 gint64                : Read / Write / Construct Only
      "end-actor"                TplEntity*            : Read / Write / Construct Only
      "end-reason"               gint                  : Read / Write / Construct Only

## Description

A subclass of TplEvent representing a call log event.

## Details

### TplCallEvent

    typedef struct _TplCallEvent TplCallEvent;

An object representing a call log event.

### TplCallEventClass

    typedef struct _TplCallEventClass TplCallEventClass;

### TplCallEventPriv

    typedef struct _TplCallEventPriv TplCallEventPriv;

### tpl_call_event_get_detailed_end_reason ()

    const gchar *       tpl_call_event_get_detailed_end_reason
                                                            (TplCallEvent *self);

`self` : | a TplCallEvent
Returns : | the same string as the "detailed-end-reason" property. [transfer none]

### tpl_call_event_get_duration ()

    GTimeSpan           tpl_call_event_get_duration         (TplCallEvent *self);

`self` : | a TplCallEvent
Returns : | the same duration as the "duration" property

### tpl_call_event_get_end_actor ()

    TplEntity *         tpl_call_event_get_end_actor        (TplCallEvent *self);

`self` : | a TplCallEvent
Returns : | the same TplEntity as "end-actor" property. [transfer none]

### tpl_call_event_get_end_reason ()

    TpCallStateChangeReason tpl_call_event_get_end_reason   (TplCallEvent *self);

`self` : | a TplCallEvent
Returns : | the same TpCallStateChangeReason as "end-reason" property

## Property Details

### The `"detailed-end-reason"` property

      "detailed-end-reason"      gchar*                : Read / Write / Construct Only

A string representing a D-Bus error that gives more details about the end reason.

Default value: ""

### The `"duration"` property

      "duration"                 gint64                : Read / Write / Construct Only

The call duration in seconds.

Allowed values: >= -1

Default value: 0

### The `"end-actor"` property

      "end-actor"                TplEntity*            : Read / Write / Construct Only

Actor (a #TplEntity) that caused the call to end.

### The `"end-reason"` property

      "end-reason"               gint                  : Read / Write / Construct Only

Reason for wich this call was ended.

Allowed values: [0,14]

Default value: 0