ModemManager.Pco

g GObject.Object GObject.Object ModemManager.Pco ModemManager.Pco GObject.Object->ModemManager.Pco

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

list_free (pco_list)

get_data ()

get_session_id ()

is_complete ()

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.Pco(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.PcoClass

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]) – a GLib.List of ModemManager.Pco.

Frees all of the memory used by a GLib.List of ModemManager.Pco.

New in version 1.10.

Deprecated since version 1.12.0: Use g_list_free_full() using GObject.Object.unref() as GLib.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:

(int, data_size: int)

Gets the PCO data in raw bytes.

New in version 1.10.

get_session_id()
Returns:

the session ID.

Return type:

int

Gets the session ID associated with the PCO.

New in version 1.10.

is_complete()
Returns:

True if the PCO data contains the complete PCO structure, False otherwise.

Return type:

bool

Gets the complete flag that indicates whether the PCO data contains the complete PCO structure received from the network.

New in version 1.10.