Qmi.ClientPdc¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientPdc(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientPdc
structure contains private data and should only be accessed using the provided API.New in version 1.18.
- activate_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcActivateConfigInput
) – aQmi.MessagePdcActivateConfigInput
.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 Activate 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.ClientPdc.activate_config_finish
() to get the result of the operation.New in version 1.18.
- activate_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.activate_config
().- Raises:
- Returns:
a
Qmi.MessagePdcActivateConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcActivateConfigOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.activate_config
().New in version 1.18.
- config_change(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcConfigChangeInput
) – aQmi.MessagePdcConfigChangeInput
.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 Config Change 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.ClientPdc.config_change_finish
() to get the result of the operation.New in version 1.18.
- config_change_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.config_change
().- Raises:
- Returns:
a
Qmi.MessagePdcConfigChangeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcConfigChangeOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.config_change
().New in version 1.18.
- deactivate_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcDeactivateConfigInput
) – aQmi.MessagePdcDeactivateConfigInput
.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 Deactivate 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.ClientPdc.deactivate_config_finish
() to get the result of the operation.New in version 1.18.
- deactivate_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.deactivate_config
().- Raises:
- Returns:
a
Qmi.MessagePdcDeactivateConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcDeactivateConfigOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.deactivate_config
().New in version 1.18.
- delete_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcDeleteConfigInput
) – aQmi.MessagePdcDeleteConfigInput
.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 Delete 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.ClientPdc.delete_config_finish
() to get the result of the operation.New in version 1.18.
- delete_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.delete_config
().- Raises:
- Returns:
a
Qmi.MessagePdcDeleteConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcDeleteConfigOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.delete_config
().New in version 1.18.
- get_config_info(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcGetConfigInfoInput
) – aQmi.MessagePdcGetConfigInfoInput
.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 Config 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.ClientPdc.get_config_info_finish
() to get the result of the operation.New in version 1.18.
- get_config_info_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.get_config_info
().- Raises:
- Returns:
a
Qmi.MessagePdcGetConfigInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetConfigInfoOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.get_config_info
().New in version 1.18.
- get_config_limits(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcGetConfigLimitsInput
) – aQmi.MessagePdcGetConfigLimitsInput
.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 Config Limits 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.ClientPdc.get_config_limits_finish
() to get the result of the operation.New in version 1.18.
- get_config_limits_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.get_config_limits
().- Raises:
- Returns:
a
Qmi.MessagePdcGetConfigLimitsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetConfigLimitsOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.get_config_limits
().New in version 1.18.
- get_default_config_info(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcGetDefaultConfigInfoInput
) – aQmi.MessagePdcGetDefaultConfigInfoInput
.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 Default Config 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.ClientPdc.get_default_config_info_finish
() to get the result of the operation.New in version 1.18.
- get_default_config_info_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.get_default_config_info
().- Raises:
- Returns:
a
Qmi.MessagePdcGetDefaultConfigInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetDefaultConfigInfoOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.get_default_config_info
().New in version 1.18.
- get_selected_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcGetSelectedConfigInput
) – aQmi.MessagePdcGetSelectedConfigInput
.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 Selected 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.ClientPdc.get_selected_config_finish
() to get the result of the operation.New in version 1.18.
- get_selected_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.get_selected_config
().- Raises:
- Returns:
a
Qmi.MessagePdcGetSelectedConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetSelectedConfigOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.get_selected_config
().New in version 1.18.
- list_configs(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcListConfigsInput
) – aQmi.MessagePdcListConfigsInput
.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 List Configs 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.ClientPdc.list_configs_finish
() to get the result of the operation.New in version 1.18.
- list_configs_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.list_configs
().- Raises:
- Returns:
a
Qmi.MessagePdcListConfigsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcListConfigsOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.list_configs
().New in version 1.18.
- load_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcLoadConfigInput
) – aQmi.MessagePdcLoadConfigInput
.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 Load 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.ClientPdc.load_config_finish
() to get the result of the operation.New in version 1.18.
- load_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.load_config
().- Raises:
- Returns:
a
Qmi.MessagePdcLoadConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcLoadConfigOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.load_config
().New in version 1.18.
- register(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcRegisterInput
) – aQmi.MessagePdcRegisterInput
.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 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.ClientPdc.register_finish
() to get the result of the operation.New in version 1.18.
- register_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.register
().- Raises:
- Returns:
a
Qmi.MessagePdcRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcRegisterOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.register
().New in version 1.18.
- 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.ClientPdc.reset_finish
() to get the result of the operation.New in version 1.18.
- reset_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.reset
().- Raises:
- Returns:
a
Qmi.MessagePdcResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcResetOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.reset
().New in version 1.18.
- set_selected_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessagePdcSetSelectedConfigInput
) – aQmi.MessagePdcSetSelectedConfigInput
.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 Selected 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.ClientPdc.set_selected_config_finish
() to get the result of the operation.New in version 1.18.
- set_selected_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – theGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toQmi.ClientPdc.set_selected_config
().- Raises:
- Returns:
a
Qmi.MessagePdcSetSelectedConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcSetSelectedConfigOutput.unref
().- Return type:
Finishes an async operation started with
Qmi.ClientPdc.set_selected_config
().New in version 1.18.
Signal Details¶
- Qmi.ClientPdc.signals.activate_config(client_pdc, output)¶
- Signal Name:
activate-config
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcActivateConfigOutput
) – AQmi.IndicationPdcActivateConfigOutput
.
The
::activate-config
signal gets emitted when a ‘’Activate Config [libqmi-glib-PDC-Activate-Config-indication.top_of_page]’’ indication is received.New in version 1.18.
- Qmi.ClientPdc.signals.deactivate_config(client_pdc, output)¶
- Signal Name:
deactivate-config
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcDeactivateConfigOutput
) – AQmi.IndicationPdcDeactivateConfigOutput
.
The
::deactivate-config
signal gets emitted when a ‘’Deactivate Config [libqmi-glib-PDC-Deactivate-Config-indication.top_of_page]’’ indication is received.New in version 1.18.
- Qmi.ClientPdc.signals.get_config_info(client_pdc, output)¶
- Signal Name:
get-config-info
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcGetConfigInfoOutput
) – AQmi.IndicationPdcGetConfigInfoOutput
.
The
::get-config-info
signal gets emitted when a ‘’Get Config Info [libqmi-glib-PDC-Get-Config-Info-indication.top_of_page]’’ indication is received.New in version 1.18.
- Qmi.ClientPdc.signals.get_selected_config(client_pdc, output)¶
- Signal Name:
get-selected-config
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcGetSelectedConfigOutput
) – AQmi.IndicationPdcGetSelectedConfigOutput
.
The
::get-selected-config
signal gets emitted when a ‘’Get Selected Config [libqmi-glib-PDC-Get-Selected-Config-indication.top_of_page]’’ indication is received.New in version 1.18.
- Qmi.ClientPdc.signals.list_configs(client_pdc, output)¶
- Signal Name:
list-configs
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcListConfigsOutput
) – AQmi.IndicationPdcListConfigsOutput
.
The
::list-configs
signal gets emitted when a ‘’List Configs [libqmi-glib-PDC-List-Configs-indication.top_of_page]’’ indication is received.New in version 1.18.
- Qmi.ClientPdc.signals.load_config(client_pdc, output)¶
- Signal Name:
load-config
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcLoadConfigOutput
) – AQmi.IndicationPdcLoadConfigOutput
.
The
::load-config
signal gets emitted when a ‘’Load Config [libqmi-glib-PDC-Load-Config-indication.top_of_page]’’ indication is received.New in version 1.18.
- Qmi.ClientPdc.signals.refresh(client_pdc, output)¶
- Signal Name:
refresh
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcRefreshOutput
) – AQmi.IndicationPdcRefreshOutput
.
The
::refresh
signal gets emitted when a ‘’Refresh [libqmi-glib-PDC-Refresh-indication.top_of_page]’’ indication is received.New in version 1.32.
- Qmi.ClientPdc.signals.set_selected_config(client_pdc, output)¶
- Signal Name:
set-selected-config
- Flags:
- Parameters:
client_pdc (
Qmi.ClientPdc
) – The object which received the signaloutput (
Qmi.IndicationPdcSetSelectedConfigOutput
) – AQmi.IndicationPdcSetSelectedConfigOutput
.
The
::set-selected-config
signal gets emitted when a ‘’Set Selected Config [libqmi-glib-PDC-Set-Selected-Config-indication.top_of_page]’’ indication is received.New in version 1.18.