Qmi.ClientVoice¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The |
|
The |
|
The |
|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv_unused |
r |
Class Details¶
- class Qmi.ClientVoice(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Qmi.ClientVoicestructure contains private data and should only be accessed using the provided API.New in version 1.14.
- answer_call(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceAnswerCallInput) – aQmi.MessageVoiceAnswerCallInput.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 Answer Call 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.ClientVoice.answer_call_finish() to get the result of the operation.New in version 1.14.
- answer_call_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.answer_call().- Raises:
- Returns:
a
Qmi.MessageVoiceAnswerCallOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceAnswerCallOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.answer_call().New in version 1.14.
- answer_ussd(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceAnswerUssdInput) – aQmi.MessageVoiceAnswerUssdInput.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 Answer USSD 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.ClientVoice.answer_ussd_finish() to get the result of the operation.New in version 1.26.
- answer_ussd_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.answer_ussd().- Raises:
- Returns:
a
Qmi.MessageVoiceAnswerUssdOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceAnswerUssdOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.answer_ussd().New in version 1.26.
- burst_dtmf(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceBurstDtmfInput) – aQmi.MessageVoiceBurstDtmfInput.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 Burst DTMF 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.ClientVoice.burst_dtmf_finish() to get the result of the operation.New in version 1.32.
- burst_dtmf_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.burst_dtmf().- Raises:
- Returns:
a
Qmi.MessageVoiceBurstDtmfOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceBurstDtmfOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.burst_dtmf().New in version 1.32.
- cancel_ussd(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 Cancel USSD 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.ClientVoice.cancel_ussd_finish() to get the result of the operation.New in version 1.26.
- cancel_ussd_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.cancel_ussd().- Raises:
- Returns:
a
Qmi.MessageVoiceCancelUssdOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceCancelUssdOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.cancel_ussd().New in version 1.26.
- dial_call(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceDialCallInput) – aQmi.MessageVoiceDialCallInput.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 Dial Call 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.ClientVoice.dial_call_finish() to get the result of the operation.New in version 1.14.
- dial_call_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.dial_call().- Raises:
- Returns:
a
Qmi.MessageVoiceDialCallOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceDialCallOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.dial_call().New in version 1.14.
- end_call(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceEndCallInput) – aQmi.MessageVoiceEndCallInput.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 End Call 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.ClientVoice.end_call_finish() to get the result of the operation.New in version 1.14.
- end_call_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.end_call().- Raises:
- Returns:
a
Qmi.MessageVoiceEndCallOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceEndCallOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.end_call().New in version 1.14.
- get_all_call_info(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 All Call 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.ClientVoice.get_all_call_info_finish() to get the result of the operation.New in version 1.30.2.
- get_all_call_info_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.get_all_call_info().- Raises:
- Returns:
a
Qmi.MessageVoiceGetAllCallInfoOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceGetAllCallInfoOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.get_all_call_info().New in version 1.30.2.
- get_call_waiting(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceGetCallWaitingInput) – aQmi.MessageVoiceGetCallWaitingInput.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 Call Waiting 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.ClientVoice.get_call_waiting_finish() to get the result of the operation.New in version 1.30.
- get_call_waiting_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.get_call_waiting().- Raises:
- Returns:
a
Qmi.MessageVoiceGetCallWaitingOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceGetCallWaitingOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.get_call_waiting().New in version 1.30.
- get_config(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceGetConfigInput) – aQmi.MessageVoiceGetConfigInput.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 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.ClientVoice.get_config_finish() to get the result of the operation.New in version 1.14.
- get_config_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.get_config().- Raises:
- Returns:
a
Qmi.MessageVoiceGetConfigOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceGetConfigOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.get_config().New in version 1.14.
- get_supported_messages(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 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.ClientVoice.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.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.get_supported_messages().- Raises:
- Returns:
a
Qmi.MessageVoiceGetSupportedMessagesOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceGetSupportedMessagesOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.get_supported_messages().New in version 1.14.
- indication_register(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceIndicationRegisterInput) – aQmi.MessageVoiceIndicationRegisterInput.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 Indication 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.ClientVoice.indication_register_finish() to get the result of the operation.New in version 1.26.
- indication_register_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.indication_register().- Raises:
- Returns:
a
Qmi.MessageVoiceIndicationRegisterOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceIndicationRegisterOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.indication_register().New in version 1.26.
- manage_calls(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceManageCallsInput) – aQmi.MessageVoiceManageCallsInput.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 Manage Calls 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.ClientVoice.manage_calls_finish() to get the result of the operation.New in version 1.30.
- manage_calls_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.manage_calls().- Raises:
- Returns:
a
Qmi.MessageVoiceManageCallsOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceManageCallsOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.manage_calls().New in version 1.30.
- originate_ussd(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceOriginateUssdInput) – aQmi.MessageVoiceOriginateUssdInput.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 Originate USSD 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.ClientVoice.originate_ussd_finish() to get the result of the operation.New in version 1.26.
- originate_ussd_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.originate_ussd().- Raises:
- Returns:
a
Qmi.MessageVoiceOriginateUssdOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceOriginateUssdOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.originate_ussd().New in version 1.26.
- originate_ussd_no_wait(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceOriginateUssdNoWaitInput) – aQmi.MessageVoiceOriginateUssdNoWaitInput.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 Originate USSD No Wait 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.ClientVoice.originate_ussd_no_wait_finish() to get the result of the operation.New in version 1.26.
- originate_ussd_no_wait_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.originate_ussd_no_wait().- Raises:
- Returns:
a
Qmi.MessageVoiceOriginateUssdNoWaitOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceOriginateUssdNoWaitOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.originate_ussd_no_wait().New in version 1.26.
- set_supplementary_service(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceSetSupplementaryServiceInput) – aQmi.MessageVoiceSetSupplementaryServiceInput.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 Supplementary Service 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.ClientVoice.set_supplementary_service_finish() to get the result of the operation.New in version 1.30.
- set_supplementary_service_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.set_supplementary_service().- Raises:
- Returns:
a
Qmi.MessageVoiceSetSupplementaryServiceOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceSetSupplementaryServiceOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.set_supplementary_service().New in version 1.30.
- start_continuous_dtmf(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceStartContinuousDtmfInput) – aQmi.MessageVoiceStartContinuousDtmfInput.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 Start Continuous DTMF 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.ClientVoice.start_continuous_dtmf_finish() to get the result of the operation.New in version 1.32.
- start_continuous_dtmf_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.start_continuous_dtmf().- Raises:
- Returns:
a
Qmi.MessageVoiceStartContinuousDtmfOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceStartContinuousDtmfOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.start_continuous_dtmf().New in version 1.32.
- stop_continuous_dtmf(input, timeout, cancellable, callback, *user_data)¶
- Parameters:
input (
Qmi.MessageVoiceStopContinuousDtmfInput) – aQmi.MessageVoiceStopContinuousDtmfInput.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 Stop Continuous DTMF 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.ClientVoice.stop_continuous_dtmf_finish() to get the result of the operation.New in version 1.32.
- stop_continuous_dtmf_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientVoice.stop_continuous_dtmf().- Raises:
- Returns:
a
Qmi.MessageVoiceStopContinuousDtmfOutput, orNoneif error is set. The returned value should be freed withQmi.MessageVoiceStopContinuousDtmfOutput.unref().- Return type:
Finishes an async operation started with
Qmi.ClientVoice.stop_continuous_dtmf().New in version 1.32.
Signal Details¶
- Qmi.ClientVoice.signals.all_call_status(client_voice, output)¶
- Signal Name:
all-call-status- Flags:
- Parameters:
client_voice (
Qmi.ClientVoice) – The object which received the signaloutput (
Qmi.IndicationVoiceAllCallStatusOutput) – AQmi.IndicationVoiceAllCallStatusOutput.
The
::all-call-statussignal gets emitted when a ‘’All Call Status [libqmi-glib-VOICE-All-Call-Status-indication.top_of_page]’’ indication is received.New in version 1.14.
- Qmi.ClientVoice.signals.originate_ussd_no_wait(client_voice, output)¶
- Signal Name:
originate-ussd-no-wait- Flags:
- Parameters:
client_voice (
Qmi.ClientVoice) – The object which received the signaloutput (
Qmi.IndicationVoiceOriginateUssdNoWaitOutput) – AQmi.IndicationVoiceOriginateUssdNoWaitOutput.
The
::originate-ussd-no-waitsignal gets emitted when a ‘’Originate USSD No Wait [libqmi-glib-VOICE-Originate-USSD-No-Wait-indication.top_of_page]’’ indication is received.New in version 1.26.
- Qmi.ClientVoice.signals.release_ussd(client_voice)¶
- Signal Name:
release-ussd- Flags:
- Parameters:
client_voice (
Qmi.ClientVoice) – The object which received the signal
The
::release-ussdsignal gets emitted when a ‘Release USSD’ indication is received.New in version 1.26.
- Qmi.ClientVoice.signals.supplementary_service(client_voice, output)¶
- Signal Name:
supplementary-service- Flags:
- Parameters:
client_voice (
Qmi.ClientVoice) – The object which received the signaloutput (
Qmi.IndicationVoiceSupplementaryServiceOutput) – AQmi.IndicationVoiceSupplementaryServiceOutput.
The
::supplementary-servicesignal gets emitted when a ‘’Supplementary Service [libqmi-glib-VOICE-Supplementary-Service-indication.top_of_page]’’ indication is received.New in version 1.30.
- Qmi.ClientVoice.signals.ussd(client_voice, output)¶
- Signal Name:
ussd- Flags:
- Parameters:
client_voice (
Qmi.ClientVoice) – The object which received the signaloutput (
Qmi.IndicationVoiceUssdOutput) – AQmi.IndicationVoiceUssdOutput.
The
::ussdsignal gets emitted when a ‘’USSD [libqmi-glib-VOICE-USSD-indication.top_of_page]’’ indication is received.New in version 1.26.