TplCallEvent

TplCallEvent — Representation of a call log event

Functions

Properties

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

Types and Values

Object Hierarchy

    GObject
    ╰── TplEvent
        ╰── TplCallEvent

Description

A subclass of TplEvent representing a call log event.

Functions

tpl_call_event_get_duration ()

GTimeSpan
tpl_call_event_get_duration (TplCallEvent *self);

Parameters

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);

Parameters

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);

Parameters

self

a TplCallEvent

 

Returns

the same TpCallStateChangeReason as “end-reason” property


tpl_call_event_get_detailed_end_reason ()

const gchar *
tpl_call_event_get_detailed_end_reason
                               (TplCallEvent *self);

Parameters

self

a TplCallEvent

 

Returns

the same string as the “detailed-end-reason” property.

[transfer none]

Types and Values

TplCallEventPriv

typedef struct _TplCallEventPriv TplCallEventPriv;

Property Details

The “detailed-end-reason” property

  “detailed-end-reason”      gchar *

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

Flags: Read / Write / Construct Only

Default value: ""


The “duration” property

  “duration”                 gint64

The call duration in seconds.

Flags: Read / Write / Construct Only

Allowed values: >= -1

Default value: 0


The “end-actor” property

  “end-actor”                TplEntity *

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

Flags: Read / Write / Construct Only


The “end-reason” property

  “end-reason”               gint

Reason for wich this call was ended.

Flags: Read / Write / Construct Only

Allowed values: [0,14]

Default value: 0