ModemManager.Pco¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.Pco(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.Pco
structure contains private data and should only be accessed using the provided API.- classmethod list_free(pco_list)¶
- Parameters:
pco_list ([
ModemManager.Pco
]) – aGLib.List
ofModemManager.Pco
.
Frees all of the memory used by a
GLib.List
ofModemManager.Pco
.New in version 1.10.
Deprecated since version 1.12.0: Use g_list_free_full() using
GObject.Object.unref
() asGLib.DestroyNotify
function instead.
- get_data()¶
- Returns:
the PCO data, or
None
if it doesn’t contain any.- data_size:
Size of the PCO data, if any given.
- Return type:
Gets the PCO data in raw bytes.
New in version 1.10.
- get_session_id()¶
- Returns:
the session ID.
- Return type:
Gets the session ID associated with the PCO.
New in version 1.10.