TelepathyLogger.CallEvent

g GObject.Object GObject.Object TelepathyLogger.Event TelepathyLogger.Event GObject.Object->TelepathyLogger.Event TelepathyLogger.CallEvent TelepathyLogger.CallEvent TelepathyLogger.Event->TelepathyLogger.CallEvent

Subclasses:

None

Methods

Inherited:

TelepathyLogger.Event (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_detailed_end_reason ()

get_duration ()

get_end_actor ()

get_end_reason ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

TelepathyLogger.Event (6)

Name

Type

Flags

Short Description

detailed-end-reason

str

r/w/co

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

duration

int

r/w/co

The call duration in seconds

end-actor

TelepathyLogger.Entity

r/w/co

Actor (a TelepathyLogger.Entity) that caused the call to end

end-reason

int

r/w/co

Reason for wich this call was ended

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class TelepathyLogger.CallEvent(**kwargs)
Bases:

TelepathyLogger.Event

Abstract:

No

Structure:

TelepathyLogger.CallEventClass

An object representing a call log event.

get_detailed_end_reason()
Returns:

the same string as the TelepathyLogger.CallEvent :detailed-end-reason property

Return type:

str

get_duration()
Returns:

the same duration as the TelepathyLogger.CallEvent :duration property

Return type:

int

get_end_actor()
Returns:

the same TelepathyLogger.Entity as TelepathyLogger.CallEvent :end-actor property

Return type:

TelepathyLogger.Entity

get_end_reason()
Returns:

the same TelepathyGLib.CallStateChangeReason as TelepathyLogger.CallEvent :end-reason property

Return type:

TelepathyGLib.CallStateChangeReason

Property Details

TelepathyLogger.CallEvent.props.detailed_end_reason
Name:

detailed-end-reason

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

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

TelepathyLogger.CallEvent.props.duration
Name:

duration

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The call duration in seconds

TelepathyLogger.CallEvent.props.end_actor
Name:

end-actor

Type:

TelepathyLogger.Entity

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Actor (a TelepathyLogger.Entity) that caused the call to end

TelepathyLogger.CallEvent.props.end_reason
Name:

end-reason

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Reason for wich this call was ended