Qmi.MessageDmsSetFirmwarePreferenceInput

Fields

None

Methods

class

new ()

get_download_override ()

get_list ()

get_modem_storage_index ()

ref ()

set_download_override (value_download_override)

set_list (value_list_ptr)

set_modem_storage_index (value_modem_storage_index)

unref ()

Details

class Qmi.MessageDmsSetFirmwarePreferenceInput

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

New in version 1.0.

classmethod new()
Returns:

the newly created Qmi.MessageDmsSetFirmwarePreferenceInput. The returned value should be freed with Qmi.MessageDmsSetFirmwarePreferenceInput.unref().

Return type:

Qmi.MessageDmsSetFirmwarePreferenceInput

Allocates a new Qmi.MessageDmsSetFirmwarePreferenceInput.

New in version 1.0.

get_download_override()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_download_override:

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

Return type:

(bool, value_download_override: bool)

Get the ‘Download Override’ field from self.

New in version 1.0.

get_list()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_list_ptr:

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

Return type:

(bool, value_list_ptr: [Qmi.MessageDmsSetFirmwarePreferenceInputListImage])

Get the ‘List’ field from self.

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

New in version 1.32.

get_modem_storage_index()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_modem_storage_index:

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

Return type:

(bool, value_modem_storage_index: int)

Get the ‘Modem Storage Index’ field from self.

New in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsSetFirmwarePreferenceInput

Atomically increments the reference count of self by one.

New in version 1.0.

set_download_override(value_download_override)
Parameters:

value_download_override (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Download Override’ field in the message.

New in version 1.0.

set_list(value_list_ptr)
Parameters:

value_list_ptr ([Qmi.MessageDmsSetFirmwarePreferenceInputListImage]) – array of Qmi.MessageDmsSetFirmwarePreferenceInputListImage elements. The contents of the given array will be copied, the GLib.PtrArray will not increase its reference count.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘List’ field in the message.

New in version 1.32.

set_modem_storage_index(value_modem_storage_index)
Parameters:

value_modem_storage_index (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Modem Storage Index’ field in the message.

New in version 1.0.

unref()

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

New in version 1.0.