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)
  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:a placeholder for the output GLib.Array of Qmi.MessageDmsSetFirmwarePreferenceInputListImage elements, or None if not required. Do not free it, it is owned by self.
Return type:(bool, value_list: [Qmi.MessageDmsSetFirmwarePreferenceInputListImage])

Get the ‘List’ field from self.

New in version 1.0.

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)
Parameters:value_list ([Qmi.MessageDmsSetFirmwarePreferenceInputListImage]) – a GLib.Array of Qmi.MessageDmsSetFirmwarePreferenceInputListImage elements. A new reference to value_list will be taken.
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.0.

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.