ModemManager.CallProperties

g GObject.Object GObject.Object ModemManager.CallProperties ModemManager.CallProperties GObject.Object->ModemManager.CallProperties

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_dictionary (dictionary)

class

new_from_string (str)

get_dictionary ()

get_direction ()

get_number ()

get_state ()

get_state_reason ()

set_direction (direction)

set_number (text)

set_state (state)

set_state_reason (state_reason)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.CallProperties(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.CallPropertiesClass

The ModemManager.CallProperties structure contains private data and should only be accessed using the provided API.

classmethod new()
Returns:

a ModemManager.CallProperties. The returned value should be freed with GObject.Object.unref().

Return type:

ModemManager.CallProperties

Creates a new empty ModemManager.CallProperties.

New in version 1.6.

classmethod new_from_dictionary(dictionary)
Parameters:

dictionary (GLib.Variant) –

Raises:

GLib.Error

Return type:

ModemManager.CallProperties

classmethod new_from_string(str)
Parameters:

str (str) –

Raises:

GLib.Error

Return type:

ModemManager.CallProperties

get_dictionary()
Return type:

GLib.Variant

get_direction()
Returns:

the call direction.

Return type:

ModemManager.CallDirection

Gets the call direction.

New in version 1.6.

Deprecated since version 1.12: the user should not specify the direction of the call, as it is implicit (outgoing always). This parameter has always been ignored during the new call creation processing.

get_number()
Returns:

the call number, or None if it doesn’t contain any (anonymous caller). Do not free the returned value, it is owned by self.

Return type:

str

Gets the number, in UTF-8.

New in version 1.6.

get_state()
Returns:

the call state.

Return type:

ModemManager.CallState

Gets the call state.

New in version 1.6.

Deprecated since version 1.12: the user should not specify the state of the call before the call is created. This parameter has always been ignored during the new call creation processing.

get_state_reason()
Returns:

the call state reason.

Return type:

ModemManager.CallStateReason

Gets the call state reason.

New in version 1.6.

Deprecated since version 1.12: the user should not specify the state reason of the call before the call is created. This parameter has always been ignored during the new call creation processing.

set_direction(direction)
Parameters:

direction (ModemManager.CallDirection) – the call direction

Sets the call direction.

New in version 1.6.

Deprecated since version 1.12: the user should not specify the direction of the call, as it is implicit (outgoing always). Anyway, this parameter has always been ignored during the new call creation processing.

set_number(text)
Parameters:

text (str) – The number to set, in UTF-8.

Sets the call number.

New in version 1.6.

set_state(state)
Parameters:

state (ModemManager.CallState) – the call state

Sets the call state

New in version 1.6.

Deprecated since version 1.12: the user should not specify the state of the call before the call is created. This parameter has always been ignored during the new call creation processing.

set_state_reason(state_reason)
Parameters:

state_reason (ModemManager.CallStateReason) – the call state reason.

Sets the call state reason.

New in version 1.6.

Deprecated since version 1.12: the user should not specify the state reason of the call before the call is created. This parameter has always been ignored during the new call creation processing.