ModemManager.CallProperties¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.CallProperties(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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 withGObject.Object.unref
().- Return type:
Creates a new empty
ModemManager.CallProperties
.New in version 1.6.
- classmethod new_from_dictionary(dictionary)¶
- Parameters:
dictionary (
GLib.Variant
) –- Raises:
- Return type:
- get_dictionary()¶
- Return type:
- get_direction()¶
- Returns:
the call direction.
- Return type:
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:
Gets the number, in UTF-8.
New in version 1.6.
- get_state()¶
- Returns:
the call state.
- Return type:
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:
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.