Qmi.MessageQosSwiReadDataStatsOutput

Fields

None

Methods

get_apn ()

get_flow ()

get_result ()

ref ()

unref ()

Details

class Qmi.MessageQosSwiReadDataStatsOutput

The Qmi.MessageQosSwiReadDataStatsOutput structure contains private data and should only be accessed using the provided API.

Added in version 1.22.

get_apn()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_apn_apn_id:

a placeholder for the output #guint32, or None if not required.

value_apn_tx_packets:

a placeholder for the output #guint32, or None if not required.

value_apn_tx_packets_dropped:

a placeholder for the output #guint32, or None if not required.

value_apn_rx_packets:

a placeholder for the output #guint32, or None if not required.

value_apn_tx_bytes:

a placeholder for the output #guint64, or None if not required.

value_apn_tx_bytes_dropped:

a placeholder for the output #guint64, or None if not required.

value_apn_rx_bytes:

a placeholder for the output #guint64, or None if not required.

Return type:

(bool, value_apn_apn_id: int, value_apn_tx_packets: int, value_apn_tx_packets_dropped: int, value_apn_rx_packets: int, value_apn_tx_bytes: int, value_apn_tx_bytes_dropped: int, value_apn_rx_bytes: int)

Get the ‘Apn’ field from self.

Added in version 1.22.

get_flow()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_flow_ptr:

a placeholder for the output array of Qmi.MessageQosSwiReadDataStatsOutputFlowElement elements, or None if not required. Do not free or modify it, it is owned by self.

Return type:

(bool, value_flow_ptr: [Qmi.MessageQosSwiReadDataStatsOutputFlowElement])

Get the ‘Flow’ field from self.

Version of Qmi.MessageQosSwiReadDataStatsOutput.get_flow() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

Added in version 1.32.

get_result()
Raises:

GLib.Error

Returns:

True if the QMI operation succeeded, False if error is set.

Return type:

bool

Get the result of the QMI operation.

Added in version 1.22.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageQosSwiReadDataStatsOutput

Atomically increments the reference count of self by one.

Added in version 1.22.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

Added in version 1.22.