Qmi.ClientDms

g GObject.Object GObject.Object Qmi.Client Qmi.Client GObject.Object->Qmi.Client Qmi.ClientDms Qmi.ClientDms Qmi.Client->Qmi.ClientDms

Subclasses:

None

Methods

Inherited:

Qmi.Client (8), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

activate_automatic (input, timeout, cancellable, callback, *user_data)

activate_automatic_finish (res)

activate_manual (input, timeout, cancellable, callback, *user_data)

activate_manual_finish (res)

delete_stored_image (input, timeout, cancellable, callback, *user_data)

delete_stored_image_finish (res)

foxconn_change_device_mode (input, timeout, cancellable, callback, *user_data)

foxconn_change_device_mode_finish (res)

foxconn_get_firmware_version (input, timeout, cancellable, callback, *user_data)

foxconn_get_firmware_version_finish (res)

foxconn_set_fcc_authentication (input, timeout, cancellable, callback, *user_data)

foxconn_set_fcc_authentication_finish (res)

foxconn_set_fcc_authentication_v2 (input, timeout, cancellable, callback, *user_data)

foxconn_set_fcc_authentication_v2_finish (res)

get_activation_state (unused, timeout, cancellable, callback, *user_data)

get_activation_state_finish (res)

get_alt_net_config (unused, timeout, cancellable, callback, *user_data)

get_alt_net_config_finish (res)

get_band_capabilities (unused, timeout, cancellable, callback, *user_data)

get_band_capabilities_finish (res)

get_boot_image_download_mode (unused, timeout, cancellable, callback, *user_data)

get_boot_image_download_mode_finish (res)

get_capabilities (unused, timeout, cancellable, callback, *user_data)

get_capabilities_finish (res)

get_factory_sku (unused, timeout, cancellable, callback, *user_data)

get_factory_sku_finish (res)

get_firmware_preference (unused, timeout, cancellable, callback, *user_data)

get_firmware_preference_finish (res)

get_hardware_revision (unused, timeout, cancellable, callback, *user_data)

get_hardware_revision_finish (res)

get_ids (unused, timeout, cancellable, callback, *user_data)

get_ids_finish (res)

get_mac_address (input, timeout, cancellable, callback, *user_data)

get_mac_address_finish (res)

get_manufacturer (unused, timeout, cancellable, callback, *user_data)

get_manufacturer_finish (res)

get_model (unused, timeout, cancellable, callback, *user_data)

get_model_finish (res)

get_msisdn (unused, timeout, cancellable, callback, *user_data)

get_msisdn_finish (res)

get_operating_mode (unused, timeout, cancellable, callback, *user_data)

get_operating_mode_finish (res)

get_power_state (unused, timeout, cancellable, callback, *user_data)

get_power_state_finish (res)

get_prl_version (unused, timeout, cancellable, callback, *user_data)

get_prl_version_finish (res)

get_revision (unused, timeout, cancellable, callback, *user_data)

get_revision_finish (res)

get_software_version (unused, timeout, cancellable, callback, *user_data)

get_software_version_finish (res)

get_stored_image_info (input, timeout, cancellable, callback, *user_data)

get_stored_image_info_finish (res)

get_supported_messages (unused, timeout, cancellable, callback, *user_data)

get_supported_messages_finish (res)

get_time (unused, timeout, cancellable, callback, *user_data)

get_time_finish (res)

get_user_lock_state (unused, timeout, cancellable, callback, *user_data)

get_user_lock_state_finish (res)

hp_change_device_mode (input, timeout, cancellable, callback, *user_data)

hp_change_device_mode_finish (res)

list_stored_images (unused, timeout, cancellable, callback, *user_data)

list_stored_images_finish (res)

read_eri_file (unused, timeout, cancellable, callback, *user_data)

read_eri_file_finish (res)

read_user_data (unused, timeout, cancellable, callback, *user_data)

read_user_data_finish (res)

reset (unused, timeout, cancellable, callback, *user_data)

reset_finish (res)

restore_factory_defaults (input, timeout, cancellable, callback, *user_data)

restore_factory_defaults_finish (res)

set_alt_net_config (input, timeout, cancellable, callback, *user_data)

set_alt_net_config_finish (res)

set_boot_image_download_mode (input, timeout, cancellable, callback, *user_data)

set_boot_image_download_mode_finish (res)

set_event_report (input, timeout, cancellable, callback, *user_data)

set_event_report_finish (res)

set_fcc_authentication (unused, timeout, cancellable, callback, *user_data)

set_fcc_authentication_finish (res)

set_firmware_id (unused, timeout, cancellable, callback, *user_data)

set_firmware_id_finish (res)

set_firmware_preference (input, timeout, cancellable, callback, *user_data)

set_firmware_preference_finish (res)

set_operating_mode (input, timeout, cancellable, callback, *user_data)

set_operating_mode_finish (res)

set_service_programming_code (input, timeout, cancellable, callback, *user_data)

set_service_programming_code_finish (res)

set_time (input, timeout, cancellable, callback, *user_data)

set_time_finish (res)

set_user_lock_code (input, timeout, cancellable, callback, *user_data)

set_user_lock_code_finish (res)

set_user_lock_state (input, timeout, cancellable, callback, *user_data)

set_user_lock_state_finish (res)

swi_get_current_firmware (unused, timeout, cancellable, callback, *user_data)

swi_get_current_firmware_finish (res)

swi_get_usb_composition (unused, timeout, cancellable, callback, *user_data)

swi_get_usb_composition_finish (res)

swi_set_usb_composition (input, timeout, cancellable, callback, *user_data)

swi_set_usb_composition_finish (res)

uim_change_pin (input, timeout, cancellable, callback, *user_data)

uim_change_pin_finish (res)

uim_get_ck_status (input, timeout, cancellable, callback, *user_data)

uim_get_ck_status_finish (res)

uim_get_iccid (unused, timeout, cancellable, callback, *user_data)

uim_get_iccid_finish (res)

uim_get_imsi (unused, timeout, cancellable, callback, *user_data)

uim_get_imsi_finish (res)

uim_get_pin_status (unused, timeout, cancellable, callback, *user_data)

uim_get_pin_status_finish (res)

uim_get_state (unused, timeout, cancellable, callback, *user_data)

uim_get_state_finish (res)

uim_set_ck_protection (input, timeout, cancellable, callback, *user_data)

uim_set_ck_protection_finish (res)

uim_set_pin_protection (input, timeout, cancellable, callback, *user_data)

uim_set_pin_protection_finish (res)

uim_unblock_ck (input, timeout, cancellable, callback, *user_data)

uim_unblock_ck_finish (res)

uim_unblock_pin (input, timeout, cancellable, callback, *user_data)

uim_unblock_pin_finish (res)

uim_verify_pin (input, timeout, cancellable, callback, *user_data)

uim_verify_pin_finish (res)

validate_service_programming_code (input, timeout, cancellable, callback, *user_data)

validate_service_programming_code_finish (res)

write_user_data (input, timeout, cancellable, callback, *user_data)

write_user_data_finish (res)

Virtual Methods

Inherited:

Qmi.Client (1), GObject.Object (7)

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

event-report

The ::event-report signal gets emitted when a ‘’Event Report [libqmi-glib-DMS-Event-Report-indication.top_of_page]’’ indication is received.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientDms(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientDmsClass

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

New in version 1.0.

activate_automatic(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Activate Automatic request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.activate_automatic_finish() to get the result of the operation.

New in version 1.0.

activate_automatic_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.activate_automatic().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsActivateAutomaticOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsActivateAutomaticOutput.unref().

Return type:

Qmi.MessageDmsActivateAutomaticOutput

Finishes an async operation started with Qmi.ClientDms.activate_automatic().

New in version 1.0.

activate_manual(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Activate Manual request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.activate_manual_finish() to get the result of the operation.

New in version 1.0.

activate_manual_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.activate_manual().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsActivateManualOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsActivateManualOutput.unref().

Return type:

Qmi.MessageDmsActivateManualOutput

Finishes an async operation started with Qmi.ClientDms.activate_manual().

New in version 1.0.

delete_stored_image(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Delete Stored Image request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.delete_stored_image_finish() to get the result of the operation.

New in version 1.0.

delete_stored_image_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.delete_stored_image().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsDeleteStoredImageOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsDeleteStoredImageOutput.unref().

Return type:

Qmi.MessageDmsDeleteStoredImageOutput

Finishes an async operation started with Qmi.ClientDms.delete_stored_image().

New in version 1.0.

foxconn_change_device_mode(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Foxconn Change Device Mode request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.foxconn_change_device_mode_finish() to get the result of the operation.

New in version 1.26.

foxconn_change_device_mode_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.foxconn_change_device_mode().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsFoxconnChangeDeviceModeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsFoxconnChangeDeviceModeOutput.unref().

Return type:

Qmi.MessageDmsFoxconnChangeDeviceModeOutput

Finishes an async operation started with Qmi.ClientDms.foxconn_change_device_mode().

New in version 1.26.

foxconn_get_firmware_version(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Foxconn Get Firmware Version request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.foxconn_get_firmware_version_finish() to get the result of the operation.

New in version 1.26.

foxconn_get_firmware_version_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.foxconn_get_firmware_version().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsFoxconnGetFirmwareVersionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsFoxconnGetFirmwareVersionOutput.unref().

Return type:

Qmi.MessageDmsFoxconnGetFirmwareVersionOutput

Finishes an async operation started with Qmi.ClientDms.foxconn_get_firmware_version().

New in version 1.26.

foxconn_set_fcc_authentication(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Foxconn Set FCC Authentication request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.foxconn_set_fcc_authentication_finish() to get the result of the operation.

New in version 1.28.6.

foxconn_set_fcc_authentication_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.foxconn_set_fcc_authentication().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsFoxconnSetFccAuthenticationOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsFoxconnSetFccAuthenticationOutput.unref().

Return type:

Qmi.MessageDmsFoxconnSetFccAuthenticationOutput

Finishes an async operation started with Qmi.ClientDms.foxconn_set_fcc_authentication().

New in version 1.28.6.

foxconn_set_fcc_authentication_v2(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Foxconn Set FCC Authentication v2 request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.foxconn_set_fcc_authentication_v2_finish() to get the result of the operation.

New in version 1.32.

foxconn_set_fcc_authentication_v2_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.foxconn_set_fcc_authentication_v2().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsFoxconnSetFccAuthenticationV2Output, or None if error is set. The returned value should be freed with Qmi.MessageDmsFoxconnSetFccAuthenticationV2Output.unref().

Return type:

Qmi.MessageDmsFoxconnSetFccAuthenticationV2Output

Finishes an async operation started with Qmi.ClientDms.foxconn_set_fcc_authentication_v2().

New in version 1.32.

get_activation_state(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Activation State request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_activation_state_finish() to get the result of the operation.

New in version 1.0.

get_activation_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_activation_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetActivationStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetActivationStateOutput.unref().

Return type:

Qmi.MessageDmsGetActivationStateOutput

Finishes an async operation started with Qmi.ClientDms.get_activation_state().

New in version 1.0.

get_alt_net_config(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Alt Net Config request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_alt_net_config_finish() to get the result of the operation.

New in version 1.0.

get_alt_net_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_alt_net_config().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetAltNetConfigOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetAltNetConfigOutput.unref().

Return type:

Qmi.MessageDmsGetAltNetConfigOutput

Finishes an async operation started with Qmi.ClientDms.get_alt_net_config().

New in version 1.0.

get_band_capabilities(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Band Capabilities request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_band_capabilities_finish() to get the result of the operation.

New in version 1.0.

get_band_capabilities_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_band_capabilities().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetBandCapabilitiesOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetBandCapabilitiesOutput.unref().

Return type:

Qmi.MessageDmsGetBandCapabilitiesOutput

Finishes an async operation started with Qmi.ClientDms.get_band_capabilities().

New in version 1.0.

get_boot_image_download_mode(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Boot Image Download Mode request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_boot_image_download_mode_finish() to get the result of the operation.

New in version 1.18.

get_boot_image_download_mode_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_boot_image_download_mode().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetBootImageDownloadModeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetBootImageDownloadModeOutput.unref().

Return type:

Qmi.MessageDmsGetBootImageDownloadModeOutput

Finishes an async operation started with Qmi.ClientDms.get_boot_image_download_mode().

New in version 1.18.

get_capabilities(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Capabilities request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_capabilities_finish() to get the result of the operation.

New in version 1.0.

get_capabilities_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_capabilities().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetCapabilitiesOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetCapabilitiesOutput.unref().

Return type:

Qmi.MessageDmsGetCapabilitiesOutput

Finishes an async operation started with Qmi.ClientDms.get_capabilities().

New in version 1.0.

get_factory_sku(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Factory SKU request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_factory_sku_finish() to get the result of the operation.

New in version 1.0.

get_factory_sku_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_factory_sku().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetFactorySkuOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetFactorySkuOutput.unref().

Return type:

Qmi.MessageDmsGetFactorySkuOutput

Finishes an async operation started with Qmi.ClientDms.get_factory_sku().

New in version 1.0.

get_firmware_preference(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Firmware Preference request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_firmware_preference_finish() to get the result of the operation.

New in version 1.0.

get_firmware_preference_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_firmware_preference().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetFirmwarePreferenceOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetFirmwarePreferenceOutput.unref().

Return type:

Qmi.MessageDmsGetFirmwarePreferenceOutput

Finishes an async operation started with Qmi.ClientDms.get_firmware_preference().

New in version 1.0.

get_hardware_revision(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Hardware Revision request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_hardware_revision_finish() to get the result of the operation.

New in version 1.0.

get_hardware_revision_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_hardware_revision().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetHardwareRevisionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetHardwareRevisionOutput.unref().

Return type:

Qmi.MessageDmsGetHardwareRevisionOutput

Finishes an async operation started with Qmi.ClientDms.get_hardware_revision().

New in version 1.0.

get_ids(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get IDs request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_ids_finish() to get the result of the operation.

New in version 1.0.

get_ids_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_ids().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetIdsOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetIdsOutput.unref().

Return type:

Qmi.MessageDmsGetIdsOutput

Finishes an async operation started with Qmi.ClientDms.get_ids().

New in version 1.0.

get_mac_address(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get MAC Address request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_mac_address_finish() to get the result of the operation.

New in version 1.26.

get_mac_address_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_mac_address().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetMacAddressOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetMacAddressOutput.unref().

Return type:

Qmi.MessageDmsGetMacAddressOutput

Finishes an async operation started with Qmi.ClientDms.get_mac_address().

New in version 1.26.

get_manufacturer(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Manufacturer request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_manufacturer_finish() to get the result of the operation.

New in version 1.0.

get_manufacturer_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_manufacturer().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetManufacturerOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetManufacturerOutput.unref().

Return type:

Qmi.MessageDmsGetManufacturerOutput

Finishes an async operation started with Qmi.ClientDms.get_manufacturer().

New in version 1.0.

get_model(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Model request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_model_finish() to get the result of the operation.

New in version 1.0.

get_model_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_model().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetModelOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetModelOutput.unref().

Return type:

Qmi.MessageDmsGetModelOutput

Finishes an async operation started with Qmi.ClientDms.get_model().

New in version 1.0.

get_msisdn(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get MSISDN request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_msisdn_finish() to get the result of the operation.

New in version 1.0.

get_msisdn_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_msisdn().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetMsisdnOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetMsisdnOutput.unref().

Return type:

Qmi.MessageDmsGetMsisdnOutput

Finishes an async operation started with Qmi.ClientDms.get_msisdn().

New in version 1.0.

get_operating_mode(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Operating Mode request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_operating_mode_finish() to get the result of the operation.

New in version 1.0.

get_operating_mode_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_operating_mode().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetOperatingModeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetOperatingModeOutput.unref().

Return type:

Qmi.MessageDmsGetOperatingModeOutput

Finishes an async operation started with Qmi.ClientDms.get_operating_mode().

New in version 1.0.

get_power_state(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Power State request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_power_state_finish() to get the result of the operation.

New in version 1.0.

get_power_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_power_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetPowerStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetPowerStateOutput.unref().

Return type:

Qmi.MessageDmsGetPowerStateOutput

Finishes an async operation started with Qmi.ClientDms.get_power_state().

New in version 1.0.

get_prl_version(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get PRL Version request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_prl_version_finish() to get the result of the operation.

New in version 1.0.

get_prl_version_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_prl_version().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetPrlVersionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetPrlVersionOutput.unref().

Return type:

Qmi.MessageDmsGetPrlVersionOutput

Finishes an async operation started with Qmi.ClientDms.get_prl_version().

New in version 1.0.

get_revision(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Revision request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_revision_finish() to get the result of the operation.

New in version 1.0.

get_revision_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_revision().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetRevisionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetRevisionOutput.unref().

Return type:

Qmi.MessageDmsGetRevisionOutput

Finishes an async operation started with Qmi.ClientDms.get_revision().

New in version 1.0.

get_software_version(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Software Version request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_software_version_finish() to get the result of the operation.

New in version 1.0.

get_software_version_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_software_version().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetSoftwareVersionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetSoftwareVersionOutput.unref().

Return type:

Qmi.MessageDmsGetSoftwareVersionOutput

Finishes an async operation started with Qmi.ClientDms.get_software_version().

New in version 1.0.

get_stored_image_info(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Stored Image Info request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_stored_image_info_finish() to get the result of the operation.

New in version 1.0.

get_stored_image_info_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_stored_image_info().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetStoredImageInfoOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetStoredImageInfoOutput.unref().

Return type:

Qmi.MessageDmsGetStoredImageInfoOutput

Finishes an async operation started with Qmi.ClientDms.get_stored_image_info().

New in version 1.0.

get_supported_messages(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Supported Messages request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_supported_messages_finish() to get the result of the operation.

New in version 1.14.

get_supported_messages_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_supported_messages().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetSupportedMessagesOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetSupportedMessagesOutput.unref().

Return type:

Qmi.MessageDmsGetSupportedMessagesOutput

Finishes an async operation started with Qmi.ClientDms.get_supported_messages().

New in version 1.14.

get_time(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get Time request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_time_finish() to get the result of the operation.

New in version 1.0.

get_time_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_time().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetTimeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetTimeOutput.unref().

Return type:

Qmi.MessageDmsGetTimeOutput

Finishes an async operation started with Qmi.ClientDms.get_time().

New in version 1.0.

get_user_lock_state(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Get User Lock State request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.get_user_lock_state_finish() to get the result of the operation.

New in version 1.0.

get_user_lock_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.get_user_lock_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsGetUserLockStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsGetUserLockStateOutput.unref().

Return type:

Qmi.MessageDmsGetUserLockStateOutput

Finishes an async operation started with Qmi.ClientDms.get_user_lock_state().

New in version 1.0.

hp_change_device_mode(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a HP Change Device Mode request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.hp_change_device_mode_finish() to get the result of the operation.

New in version 1.18.

hp_change_device_mode_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.hp_change_device_mode().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsHpChangeDeviceModeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsHpChangeDeviceModeOutput.unref().

Return type:

Qmi.MessageDmsHpChangeDeviceModeOutput

Finishes an async operation started with Qmi.ClientDms.hp_change_device_mode().

New in version 1.18.

list_stored_images(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a List Stored Images request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.list_stored_images_finish() to get the result of the operation.

New in version 1.0.

list_stored_images_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.list_stored_images().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsListStoredImagesOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsListStoredImagesOutput.unref().

Return type:

Qmi.MessageDmsListStoredImagesOutput

Finishes an async operation started with Qmi.ClientDms.list_stored_images().

New in version 1.0.

read_eri_file(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Read ERI File request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.read_eri_file_finish() to get the result of the operation.

New in version 1.0.

read_eri_file_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.read_eri_file().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsReadEriFileOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsReadEriFileOutput.unref().

Return type:

Qmi.MessageDmsReadEriFileOutput

Finishes an async operation started with Qmi.ClientDms.read_eri_file().

New in version 1.0.

read_user_data(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Read User Data request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.read_user_data_finish() to get the result of the operation.

New in version 1.0.

read_user_data_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.read_user_data().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsReadUserDataOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsReadUserDataOutput.unref().

Return type:

Qmi.MessageDmsReadUserDataOutput

Finishes an async operation started with Qmi.ClientDms.read_user_data().

New in version 1.0.

reset(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Reset request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.reset_finish() to get the result of the operation.

New in version 1.0.

reset_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.reset().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsResetOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsResetOutput.unref().

Return type:

Qmi.MessageDmsResetOutput

Finishes an async operation started with Qmi.ClientDms.reset().

New in version 1.0.

restore_factory_defaults(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Restore Factory Defaults request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.restore_factory_defaults_finish() to get the result of the operation.

New in version 1.0.

restore_factory_defaults_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.restore_factory_defaults().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsRestoreFactoryDefaultsOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsRestoreFactoryDefaultsOutput.unref().

Return type:

Qmi.MessageDmsRestoreFactoryDefaultsOutput

Finishes an async operation started with Qmi.ClientDms.restore_factory_defaults().

New in version 1.0.

set_alt_net_config(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Alt Net Config request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_alt_net_config_finish() to get the result of the operation.

New in version 1.0.

set_alt_net_config_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_alt_net_config().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetAltNetConfigOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetAltNetConfigOutput.unref().

Return type:

Qmi.MessageDmsSetAltNetConfigOutput

Finishes an async operation started with Qmi.ClientDms.set_alt_net_config().

New in version 1.0.

set_boot_image_download_mode(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Boot Image Download Mode request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_boot_image_download_mode_finish() to get the result of the operation.

New in version 1.18.

set_boot_image_download_mode_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_boot_image_download_mode().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetBootImageDownloadModeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetBootImageDownloadModeOutput.unref().

Return type:

Qmi.MessageDmsSetBootImageDownloadModeOutput

Finishes an async operation started with Qmi.ClientDms.set_boot_image_download_mode().

New in version 1.18.

set_event_report(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Event Report request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_event_report_finish() to get the result of the operation.

New in version 1.0.

set_event_report_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_event_report().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetEventReportOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetEventReportOutput.unref().

Return type:

Qmi.MessageDmsSetEventReportOutput

Finishes an async operation started with Qmi.ClientDms.set_event_report().

New in version 1.0.

set_fcc_authentication(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set FCC Authentication request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_fcc_authentication_finish() to get the result of the operation.

New in version 1.14.

set_fcc_authentication_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_fcc_authentication().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetFccAuthenticationOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetFccAuthenticationOutput.unref().

Return type:

Qmi.MessageDmsSetFccAuthenticationOutput

Finishes an async operation started with Qmi.ClientDms.set_fcc_authentication().

New in version 1.14.

set_firmware_id(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Firmware ID request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_firmware_id_finish() to get the result of the operation.

New in version 1.18.

set_firmware_id_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_firmware_id().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetFirmwareIdOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetFirmwareIdOutput.unref().

Return type:

Qmi.MessageDmsSetFirmwareIdOutput

Finishes an async operation started with Qmi.ClientDms.set_firmware_id().

New in version 1.18.

set_firmware_preference(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Firmware Preference request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_firmware_preference_finish() to get the result of the operation.

New in version 1.0.

set_firmware_preference_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_firmware_preference().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetFirmwarePreferenceOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetFirmwarePreferenceOutput.unref().

Return type:

Qmi.MessageDmsSetFirmwarePreferenceOutput

Finishes an async operation started with Qmi.ClientDms.set_firmware_preference().

New in version 1.0.

set_operating_mode(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Operating Mode request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_operating_mode_finish() to get the result of the operation.

New in version 1.0.

set_operating_mode_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_operating_mode().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetOperatingModeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetOperatingModeOutput.unref().

Return type:

Qmi.MessageDmsSetOperatingModeOutput

Finishes an async operation started with Qmi.ClientDms.set_operating_mode().

New in version 1.0.

set_service_programming_code(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Service Programming Code request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_service_programming_code_finish() to get the result of the operation.

New in version 1.0.

set_service_programming_code_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_service_programming_code().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetServiceProgrammingCodeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetServiceProgrammingCodeOutput.unref().

Return type:

Qmi.MessageDmsSetServiceProgrammingCodeOutput

Finishes an async operation started with Qmi.ClientDms.set_service_programming_code().

New in version 1.0.

set_time(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set Time request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_time_finish() to get the result of the operation.

New in version 1.0.

set_time_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_time().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetTimeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetTimeOutput.unref().

Return type:

Qmi.MessageDmsSetTimeOutput

Finishes an async operation started with Qmi.ClientDms.set_time().

New in version 1.0.

set_user_lock_code(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set User Lock Code request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_user_lock_code_finish() to get the result of the operation.

New in version 1.0.

set_user_lock_code_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_user_lock_code().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetUserLockCodeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetUserLockCodeOutput.unref().

Return type:

Qmi.MessageDmsSetUserLockCodeOutput

Finishes an async operation started with Qmi.ClientDms.set_user_lock_code().

New in version 1.0.

set_user_lock_state(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Set User Lock State request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.set_user_lock_state_finish() to get the result of the operation.

New in version 1.0.

set_user_lock_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.set_user_lock_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSetUserLockStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSetUserLockStateOutput.unref().

Return type:

Qmi.MessageDmsSetUserLockStateOutput

Finishes an async operation started with Qmi.ClientDms.set_user_lock_state().

New in version 1.0.

swi_get_current_firmware(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Swi Get Current Firmware request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.swi_get_current_firmware_finish() to get the result of the operation.

New in version 1.18.

swi_get_current_firmware_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.swi_get_current_firmware().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSwiGetCurrentFirmwareOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSwiGetCurrentFirmwareOutput.unref().

Return type:

Qmi.MessageDmsSwiGetCurrentFirmwareOutput

Finishes an async operation started with Qmi.ClientDms.swi_get_current_firmware().

New in version 1.18.

swi_get_usb_composition(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Swi Get USB Composition request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.swi_get_usb_composition_finish() to get the result of the operation.

New in version 1.20.

swi_get_usb_composition_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.swi_get_usb_composition().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSwiGetUsbCompositionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSwiGetUsbCompositionOutput.unref().

Return type:

Qmi.MessageDmsSwiGetUsbCompositionOutput

Finishes an async operation started with Qmi.ClientDms.swi_get_usb_composition().

New in version 1.20.

swi_set_usb_composition(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Swi Set USB Composition request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.swi_set_usb_composition_finish() to get the result of the operation.

New in version 1.20.

swi_set_usb_composition_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.swi_set_usb_composition().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsSwiSetUsbCompositionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsSwiSetUsbCompositionOutput.unref().

Return type:

Qmi.MessageDmsSwiSetUsbCompositionOutput

Finishes an async operation started with Qmi.ClientDms.swi_set_usb_composition().

New in version 1.20.

uim_change_pin(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Change PIN request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_change_pin_finish() to get the result of the operation.

New in version 1.0.

uim_change_pin_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_change_pin().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimChangePinOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimChangePinOutput.unref().

Return type:

Qmi.MessageDmsUimChangePinOutput

Finishes an async operation started with Qmi.ClientDms.uim_change_pin().

New in version 1.0.

uim_get_ck_status(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Get CK Status request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_get_ck_status_finish() to get the result of the operation.

New in version 1.0.

uim_get_ck_status_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_get_ck_status().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimGetCkStatusOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimGetCkStatusOutput.unref().

Return type:

Qmi.MessageDmsUimGetCkStatusOutput

Finishes an async operation started with Qmi.ClientDms.uim_get_ck_status().

New in version 1.0.

uim_get_iccid(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Get ICCID request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_get_iccid_finish() to get the result of the operation.

New in version 1.0.

uim_get_iccid_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_get_iccid().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimGetIccidOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimGetIccidOutput.unref().

Return type:

Qmi.MessageDmsUimGetIccidOutput

Finishes an async operation started with Qmi.ClientDms.uim_get_iccid().

New in version 1.0.

uim_get_imsi(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Get IMSI request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_get_imsi_finish() to get the result of the operation.

New in version 1.0.

uim_get_imsi_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_get_imsi().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimGetImsiOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimGetImsiOutput.unref().

Return type:

Qmi.MessageDmsUimGetImsiOutput

Finishes an async operation started with Qmi.ClientDms.uim_get_imsi().

New in version 1.0.

uim_get_pin_status(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Get PIN Status request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_get_pin_status_finish() to get the result of the operation.

New in version 1.0.

uim_get_pin_status_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_get_pin_status().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimGetPinStatusOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimGetPinStatusOutput.unref().

Return type:

Qmi.MessageDmsUimGetPinStatusOutput

Finishes an async operation started with Qmi.ClientDms.uim_get_pin_status().

New in version 1.0.

uim_get_state(unused, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Get State request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_get_state_finish() to get the result of the operation.

New in version 1.0.

uim_get_state_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_get_state().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimGetStateOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimGetStateOutput.unref().

Return type:

Qmi.MessageDmsUimGetStateOutput

Finishes an async operation started with Qmi.ClientDms.uim_get_state().

New in version 1.0.

uim_set_ck_protection(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Set CK Protection request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_set_ck_protection_finish() to get the result of the operation.

New in version 1.0.

uim_set_ck_protection_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_set_ck_protection().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimSetCkProtectionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimSetCkProtectionOutput.unref().

Return type:

Qmi.MessageDmsUimSetCkProtectionOutput

Finishes an async operation started with Qmi.ClientDms.uim_set_ck_protection().

New in version 1.0.

uim_set_pin_protection(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Set PIN Protection request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_set_pin_protection_finish() to get the result of the operation.

New in version 1.0.

uim_set_pin_protection_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_set_pin_protection().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimSetPinProtectionOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimSetPinProtectionOutput.unref().

Return type:

Qmi.MessageDmsUimSetPinProtectionOutput

Finishes an async operation started with Qmi.ClientDms.uim_set_pin_protection().

New in version 1.0.

uim_unblock_ck(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Unblock CK request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_unblock_ck_finish() to get the result of the operation.

New in version 1.0.

uim_unblock_ck_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_unblock_ck().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimUnblockCkOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimUnblockCkOutput.unref().

Return type:

Qmi.MessageDmsUimUnblockCkOutput

Finishes an async operation started with Qmi.ClientDms.uim_unblock_ck().

New in version 1.0.

uim_unblock_pin(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Unblock PIN request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_unblock_pin_finish() to get the result of the operation.

New in version 1.0.

uim_unblock_pin_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_unblock_pin().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimUnblockPinOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimUnblockPinOutput.unref().

Return type:

Qmi.MessageDmsUimUnblockPinOutput

Finishes an async operation started with Qmi.ClientDms.uim_unblock_pin().

New in version 1.0.

uim_verify_pin(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a UIM Verify PIN request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.uim_verify_pin_finish() to get the result of the operation.

New in version 1.0.

uim_verify_pin_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.uim_verify_pin().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsUimVerifyPinOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsUimVerifyPinOutput.unref().

Return type:

Qmi.MessageDmsUimVerifyPinOutput

Finishes an async operation started with Qmi.ClientDms.uim_verify_pin().

New in version 1.0.

validate_service_programming_code(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Validate Service Programming Code request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.validate_service_programming_code_finish() to get the result of the operation.

New in version 1.0.

validate_service_programming_code_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.validate_service_programming_code().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsValidateServiceProgrammingCodeOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsValidateServiceProgrammingCodeOutput.unref().

Return type:

Qmi.MessageDmsValidateServiceProgrammingCodeOutput

Finishes an async operation started with Qmi.ClientDms.validate_service_programming_code().

New in version 1.0.

write_user_data(input, timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously sends a Write User Data request to the device.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call Qmi.ClientDms.write_user_data_finish() to get the result of the operation.

New in version 1.0.

write_user_data_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientDms.write_user_data().

Raises:

GLib.Error

Returns:

a Qmi.MessageDmsWriteUserDataOutput, or None if error is set. The returned value should be freed with Qmi.MessageDmsWriteUserDataOutput.unref().

Return type:

Qmi.MessageDmsWriteUserDataOutput

Finishes an async operation started with Qmi.ClientDms.write_user_data().

New in version 1.0.

Signal Details

Qmi.ClientDms.signals.event_report(client_dms, output)
Signal Name:

event-report

Flags:

RUN_LAST

Parameters:

The ::event-report signal gets emitted when a ‘’Event Report [libqmi-glib-DMS-Event-Report-indication.top_of_page]’’ indication is received.

New in version 1.0.