Qmi.ClientUim

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

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

change_pin_finish (res)

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

change_provisioning_session_finish (res)

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

depersonalization_finish (res)

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

get_card_status_finish (res)

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

get_configuration_finish (res)

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

get_file_attributes_finish (res)

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

get_slot_status_finish (res)

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

get_supported_messages_finish (res)

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

power_off_sim_finish (res)

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

power_on_sim_finish (res)

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

read_record_finish (res)

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

read_transparent_finish (res)

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

refresh_complete_finish (res)

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

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

refresh_register_all_finish (res)

refresh_register_finish (res)

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

register_events_finish (res)

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

remote_unlock_finish (res)

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

reset_finish (res)

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

set_pin_protection_finish (res)

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

switch_slot_finish (res)

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

unblock_pin_finish (res)

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

verify_pin_finish (res)

Virtual Methods

Inherited:

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

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

card-status

The ::card-status signal gets emitted when a ‘’Card Status [libqmi-glib-UIM-Card-Status-indication.top_of_page]’’ indication is received.

refresh

The ::refresh signal gets emitted when a ‘’Refresh [libqmi-glib-UIM-Refresh-indication.top_of_page]’’ indication is received.

slot-status

The ::slot-status signal gets emitted when a ‘’Slot Status [libqmi-glib-UIM-Slot-Status-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.ClientUim(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientUimClass

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

New in version 1.6.

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

Asynchronously sends a 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.ClientUim.change_pin_finish() to get the result of the operation.

New in version 1.14.

change_pin_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.change_pin().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimChangePinOutput

Finishes an async operation started with Qmi.ClientUim.change_pin().

New in version 1.14.

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

Asynchronously sends a Change Provisioning Session 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.ClientUim.change_provisioning_session_finish() to get the result of the operation.

New in version 1.24.

change_provisioning_session_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.change_provisioning_session().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimChangeProvisioningSessionOutput

Finishes an async operation started with Qmi.ClientUim.change_provisioning_session().

New in version 1.24.

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

Asynchronously sends a Depersonalization 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.ClientUim.depersonalization_finish() to get the result of the operation.

New in version 1.30.

depersonalization_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.depersonalization().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimDepersonalizationOutput

Finishes an async operation started with Qmi.ClientUim.depersonalization().

New in version 1.30.

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

Asynchronously sends a Get Card 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.ClientUim.get_card_status_finish() to get the result of the operation.

New in version 1.10.

get_card_status_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.get_card_status().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimGetCardStatusOutput

Finishes an async operation started with Qmi.ClientUim.get_card_status().

New in version 1.10.

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

Asynchronously sends a Get Configuration 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.ClientUim.get_configuration_finish() to get the result of the operation.

New in version 1.30.

get_configuration_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.get_configuration().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimGetConfigurationOutput

Finishes an async operation started with Qmi.ClientUim.get_configuration().

New in version 1.30.

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

Asynchronously sends a Get File Attributes 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.ClientUim.get_file_attributes_finish() to get the result of the operation.

New in version 1.6.

get_file_attributes_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.get_file_attributes().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimGetFileAttributesOutput

Finishes an async operation started with Qmi.ClientUim.get_file_attributes().

New in version 1.6.

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

Asynchronously sends a Get Slot 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.ClientUim.get_slot_status_finish() to get the result of the operation.

New in version 1.26.

get_slot_status_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.get_slot_status().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimGetSlotStatusOutput

Finishes an async operation started with Qmi.ClientUim.get_slot_status().

New in version 1.26.

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.ClientUim.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.ClientUim.get_supported_messages().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimGetSupportedMessagesOutput

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

New in version 1.14.

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

Asynchronously sends a Power Off SIM 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.ClientUim.power_off_sim_finish() to get the result of the operation.

New in version 1.18.

power_off_sim_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.power_off_sim().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimPowerOffSimOutput

Finishes an async operation started with Qmi.ClientUim.power_off_sim().

New in version 1.18.

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

Asynchronously sends a Power On SIM 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.ClientUim.power_on_sim_finish() to get the result of the operation.

New in version 1.18.

power_on_sim_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.power_on_sim().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimPowerOnSimOutput

Finishes an async operation started with Qmi.ClientUim.power_on_sim().

New in version 1.18.

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

Asynchronously sends a Read Record 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.ClientUim.read_record_finish() to get the result of the operation.

New in version 1.6.

read_record_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.read_record().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimReadRecordOutput

Finishes an async operation started with Qmi.ClientUim.read_record().

New in version 1.6.

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

Asynchronously sends a Read Transparent 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.ClientUim.read_transparent_finish() to get the result of the operation.

New in version 1.6.

read_transparent_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.read_transparent().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimReadTransparentOutput

Finishes an async operation started with Qmi.ClientUim.read_transparent().

New in version 1.6.

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

Asynchronously sends a Refresh Complete 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.ClientUim.refresh_complete_finish() to get the result of the operation.

New in version 1.28.

refresh_complete_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.refresh_complete().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimRefreshCompleteOutput

Finishes an async operation started with Qmi.ClientUim.refresh_complete().

New in version 1.28.

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

Asynchronously sends a Refresh Register 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.ClientUim.refresh_register_finish() to get the result of the operation.

New in version 1.28.

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

Asynchronously sends a Refresh Register All 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.ClientUim.refresh_register_all_finish() to get the result of the operation.

New in version 1.28.

refresh_register_all_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.refresh_register_all().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimRefreshRegisterAllOutput

Finishes an async operation started with Qmi.ClientUim.refresh_register_all().

New in version 1.28.

refresh_register_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.refresh_register().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimRefreshRegisterOutput

Finishes an async operation started with Qmi.ClientUim.refresh_register().

New in version 1.28.

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

Asynchronously sends a Register Events 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.ClientUim.register_events_finish() to get the result of the operation.

New in version 1.22.4.

register_events_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.register_events().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimRegisterEventsOutput

Finishes an async operation started with Qmi.ClientUim.register_events().

New in version 1.22.4.

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

Asynchronously sends a Remote Unlock 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.ClientUim.remote_unlock_finish() to get the result of the operation.

New in version 1.32.

remote_unlock_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.remote_unlock().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimRemoteUnlockOutput

Finishes an async operation started with Qmi.ClientUim.remote_unlock().

New in version 1.32.

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.ClientUim.reset_finish() to get the result of the operation.

New in version 1.6.

reset_finish(res)
Parameters:

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

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimResetOutput

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

New in version 1.6.

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

Asynchronously sends a 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.ClientUim.set_pin_protection_finish() to get the result of the operation.

New in version 1.14.

set_pin_protection_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.set_pin_protection().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimSetPinProtectionOutput

Finishes an async operation started with Qmi.ClientUim.set_pin_protection().

New in version 1.14.

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

Asynchronously sends a Switch Slot 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.ClientUim.switch_slot_finish() to get the result of the operation.

New in version 1.26.

switch_slot_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.switch_slot().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimSwitchSlotOutput

Finishes an async operation started with Qmi.ClientUim.switch_slot().

New in version 1.26.

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

Asynchronously sends a 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.ClientUim.unblock_pin_finish() to get the result of the operation.

New in version 1.14.

unblock_pin_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.unblock_pin().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimUnblockPinOutput

Finishes an async operation started with Qmi.ClientUim.unblock_pin().

New in version 1.14.

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

Asynchronously sends a 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.ClientUim.verify_pin_finish() to get the result of the operation.

New in version 1.14.

verify_pin_finish(res)
Parameters:

res (Gio.AsyncResult) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientUim.verify_pin().

Raises:

GLib.Error

Returns:

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

Return type:

Qmi.MessageUimVerifyPinOutput

Finishes an async operation started with Qmi.ClientUim.verify_pin().

New in version 1.14.

Signal Details

Qmi.ClientUim.signals.card_status(client_uim, output)
Signal Name:

card-status

Flags:

RUN_LAST

Parameters:

The ::card-status signal gets emitted when a ‘’Card Status [libqmi-glib-UIM-Card-Status-indication.top_of_page]’’ indication is received.

New in version 1.22.

Qmi.ClientUim.signals.refresh(client_uim, output)
Signal Name:

refresh

Flags:

RUN_LAST

Parameters:

The ::refresh signal gets emitted when a ‘’Refresh [libqmi-glib-UIM-Refresh-indication.top_of_page]’’ indication is received.

New in version 1.28.

Qmi.ClientUim.signals.slot_status(client_uim, output)
Signal Name:

slot-status

Flags:

RUN_LAST

Parameters:

The ::slot-status signal gets emitted when a ‘’Slot Status [libqmi-glib-UIM-Slot-Status-indication.top_of_page]’’ indication is received.

New in version 1.26.