Qmi.ClientUim¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientUim(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
input (
Qmi.MessageUimChangePinInput
) – aQmi.MessageUimChangePinInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.change_pin
().- Raises:
- Returns:
a
Qmi.MessageUimChangePinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimChangePinOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimChangeProvisioningSessionInput
) – aQmi.MessageUimChangeProvisioningSessionInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.change_provisioning_session
().- Raises:
- Returns:
a
Qmi.MessageUimChangeProvisioningSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimChangeProvisioningSessionOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.change_provisioning_session
().New in version 1.24.
- depersonalization(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimDepersonalizationInput
) – aQmi.MessageUimDepersonalizationInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.depersonalization
().- Raises:
- Returns:
a
Qmi.MessageUimDepersonalizationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimDepersonalizationOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.depersonalization
().New in version 1.30.
- get_card_status(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.get_card_status
().- Raises:
- Returns:
a
Qmi.MessageUimGetCardStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetCardStatusOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimGetConfigurationInput
) – aQmi.MessageUimGetConfigurationInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.get_configuration
().- Raises:
- Returns:
a
Qmi.MessageUimGetConfigurationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetConfigurationOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimGetFileAttributesInput
) – aQmi.MessageUimGetFileAttributesInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.get_file_attributes
().- Raises:
- Returns:
a
Qmi.MessageUimGetFileAttributesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetFileAttributesOutput.unref
().- Return type:
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:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.get_slot_status
().- Raises:
- Returns:
a
Qmi.MessageUimGetSlotStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetSlotStatusOutput.unref
().- Return type:
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:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.get_supported_messages
().- Raises:
- Returns:
a
Qmi.MessageUimGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetSupportedMessagesOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimPowerOffSimInput
) – aQmi.MessageUimPowerOffSimInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.power_off_sim
().- Raises:
- Returns:
a
Qmi.MessageUimPowerOffSimOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimPowerOffSimOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimPowerOnSimInput
) – aQmi.MessageUimPowerOnSimInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.power_on_sim
().- Raises:
- Returns:
a
Qmi.MessageUimPowerOnSimOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimPowerOnSimOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimReadRecordInput
) – aQmi.MessageUimReadRecordInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.read_record
().- Raises:
- Returns:
a
Qmi.MessageUimReadRecordOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimReadRecordOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.read_record
().New in version 1.6.
- read_transparent(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimReadTransparentInput
) – aQmi.MessageUimReadTransparentInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.read_transparent
().- Raises:
- Returns:
a
Qmi.MessageUimReadTransparentOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimReadTransparentOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.read_transparent
().New in version 1.6.
- refresh_complete(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimRefreshCompleteInput
) – aQmi.MessageUimRefreshCompleteInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.refresh_complete
().- Raises:
- Returns:
a
Qmi.MessageUimRefreshCompleteOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRefreshCompleteOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.refresh_complete
().New in version 1.28.
- refresh_register(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimRefreshRegisterInput
) – aQmi.MessageUimRefreshRegisterInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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:
input (
Qmi.MessageUimRefreshRegisterAllInput
) – aQmi.MessageUimRefreshRegisterAllInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.refresh_register_all
().- Raises:
- Returns:
a
Qmi.MessageUimRefreshRegisterAllOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRefreshRegisterAllOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.refresh_register_all
().New in version 1.28.
- refresh_register_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.refresh_register
().- Raises:
- Returns:
a
Qmi.MessageUimRefreshRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRefreshRegisterOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.refresh_register
().New in version 1.28.
- register_events(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimRegisterEventsInput
) – aQmi.MessageUimRegisterEventsInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.register_events
().- Raises:
- Returns:
a
Qmi.MessageUimRegisterEventsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRegisterEventsOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimRemoteUnlockInput
) – aQmi.MessageUimRemoteUnlockInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.remote_unlock
().- Raises:
- Returns:
a
Qmi.MessageUimRemoteUnlockOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRemoteUnlockOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.remote_unlock
().New in version 1.32.
- reset(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
object
orNone
) –None
. This message doesn’t have any input bundle.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.reset
().- Raises:
- Returns:
a
Qmi.MessageUimResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimResetOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.reset
().New in version 1.6.
- set_pin_protection(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimSetPinProtectionInput
) – aQmi.MessageUimSetPinProtectionInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.set_pin_protection
().- Raises:
- Returns:
a
Qmi.MessageUimSetPinProtectionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimSetPinProtectionOutput.unref
().- Return type:
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:
input (
Qmi.MessageUimSwitchSlotInput
) – aQmi.MessageUimSwitchSlotInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.switch_slot
().- Raises:
- Returns:
a
Qmi.MessageUimSwitchSlotOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimSwitchSlotOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.switch_slot
().New in version 1.26.
- unblock_pin(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimUnblockPinInput
) – aQmi.MessageUimUnblockPinInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.unblock_pin
().- Raises:
- Returns:
a
Qmi.MessageUimUnblockPinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimUnblockPinOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientUim.unblock_pin
().New in version 1.14.
- verify_pin(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageUimVerifyPinInput
) – aQmi.MessageUimVerifyPinInput
.timeout (
int
) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – aGio.AsyncReadyCallback
to call when the request is satisfied.
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
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientUim.verify_pin
().- Raises:
- Returns:
a
Qmi.MessageUimVerifyPinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimVerifyPinOutput.unref
().- Return type:
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:
- Parameters:
client_uim (
Qmi.ClientUim
) – The object which received the signaloutput (
Qmi.IndicationUimCardStatusOutput
) – AQmi.IndicationUimCardStatusOutput
.
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:
- Parameters:
client_uim (
Qmi.ClientUim
) – The object which received the signaloutput (
Qmi.IndicationUimRefreshOutput
) – AQmi.IndicationUimRefreshOutput
.
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:
- Parameters:
client_uim (
Qmi.ClientUim
) – The object which received the signaloutput (
Qmi.IndicationUimSlotStatusOutput
) – AQmi.IndicationUimSlotStatusOutput
.
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.