Qmi.ClientIms¶
- 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.ClientIms(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Qmi.Clientwhich handles operations in the IMS service.The
Qmi.ClientImsstructure contains private data and should only be accessed using the provided API.New in version 1.34.
- bind(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageImsBindInput) – aQmi.MessageImsBindInput.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 Bind 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.ClientIms.bind_finish() to get the result of the operation.New in version 1.36.
- bind_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientIms.bind().- Raises:
- Returns:
a
Qmi.MessageImsBindOutput, orNoneif error is set. The returned value should be freed withQmi.MessageImsBindOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientIms.bind().New in version 1.36.
- get_ims_services_enabled_setting(unused, timeout, cancellable, callback, *user_data)¶
- Parameters:
unused (
objectorNone) –None. This message doesn’t have any input bundle.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 Get IMS Services Enabled Setting 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.ClientIms.get_ims_services_enabled_setting_finish() to get the result of the operation.New in version 1.34.
- get_ims_services_enabled_setting_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientIms.get_ims_services_enabled_setting().- Raises:
- Returns:
a
Qmi.MessageImsGetImsServicesEnabledSettingOutput, orNoneif error is set. The returned value should be freed withQmi.MessageImsGetImsServicesEnabledSettingOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientIms.get_ims_services_enabled_setting().New in version 1.34.
- set_ims_services_enabled_setting(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageImsSetImsServicesEnabledSettingInput) – aQmi.MessageImsSetImsServicesEnabledSettingInput.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 Set IMS Services Enabled Setting 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.ClientIms.set_ims_services_enabled_setting_finish() to get the result of the operation.New in version 1.38.
- set_ims_services_enabled_setting_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientIms.set_ims_services_enabled_setting().- Raises:
- Returns:
a
Qmi.MessageImsSetImsServicesEnabledSettingOutput, orNoneif error is set. The returned value should be freed withQmi.MessageImsSetImsServicesEnabledSettingOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientIms.set_ims_services_enabled_setting().New in version 1.38.
Signal Details¶
- Qmi.ClientIms.signals.ims_services_enabled_setting(client_ims, output)¶
- Signal Name:
ims-services-enabled-setting- Flags:
- Parameters:
client_ims (
Qmi.ClientIms) – The object which received the signaloutput (
Qmi.IndicationImsImsServicesEnabledSettingOutput) – AQmi.IndicationImsImsServicesEnabledSettingOutput.
The
::ims-services-enabled-settingsignal gets emitted when a ‘’IMS Services Enabled Setting [libqmi-glib-IMS-IMS-Services-Enabled-Setting-indication.top_of_page]’’ indication is received.New in version 1.38.