Qmi.ClientImsdcm¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientImsdcm(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Qmi.Clientwhich handles operations in the IMSDCM service.The
Qmi.ClientImsdcmstructure contains private data and should only be accessed using the provided API.New in version 1.34.
- pdp_activate_request(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageImsdcmPdpActivateRequestInput) – aQmi.MessageImsdcmPdpActivateRequestInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a PDP Activate Request 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.ClientImsdcm.pdp_activate_request_finish() to get the result of the operation.New in version 1.37.
- pdp_activate_request_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientImsdcm.pdp_activate_request().- Raises:
- Returns:
a
Qmi.MessageImsdcmPdpActivateRequestOutput, orNoneif error is set. The returned value should be freed withQmi.MessageImsdcmPdpActivateRequestOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientImsdcm.pdp_activate_request().New in version 1.37.
- pdp_deactivate_request(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageImsdcmPdpDeactivateRequestInput) – aQmi.MessageImsdcmPdpDeactivateRequestInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a PDP Deactivate Request 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.ClientImsdcm.pdp_deactivate_request_finish() to get the result of the operation.New in version 1.37.
- pdp_deactivate_request_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientImsdcm.pdp_deactivate_request().- Raises:
- Returns:
a
Qmi.MessageImsdcmPdpDeactivateRequestOutput, orNoneif error is set. The returned value should be freed withQmi.MessageImsdcmPdpDeactivateRequestOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientImsdcm.pdp_deactivate_request().New in version 1.37.
Signal Details¶
- Qmi.ClientImsdcm.signals.pdp_activate(client_imsdcm, output)¶
- Signal Name:
pdp-activate- Flags:
- Parameters:
client_imsdcm (
Qmi.ClientImsdcm) – The object which received the signaloutput (
Qmi.IndicationImsdcmPdpActivateOutput) – AQmi.IndicationImsdcmPdpActivateOutput.
The
::pdp-activatesignal gets emitted when a ‘’PDP Activate [libqmi-glib-IMSDCM-PDP-Activate-indication.top_of_page]’’ indication is received.New in version 1.37.