Qmi.ClientVoice

g GObject.Object GObject.Object Qmi.Client Qmi.Client GObject.Object->Qmi.Client Qmi.ClientVoice Qmi.ClientVoice Qmi.Client->Qmi.ClientVoice

Subclasses:

None

Methods

Inherited:

Qmi.Client (8), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

answer_call (input, timeout, cancellable, callback, *user_data)

answer_call_finish (res)

answer_ussd (input, timeout, cancellable, callback, *user_data)

answer_ussd_finish (res)

burst_dtmf (input, timeout, cancellable, callback, *user_data)

burst_dtmf_finish (res)

cancel_ussd (unused, timeout, cancellable, callback, *user_data)

cancel_ussd_finish (res)

dial_call (input, timeout, cancellable, callback, *user_data)

dial_call_finish (res)

end_call (input, timeout, cancellable, callback, *user_data)

end_call_finish (res)

get_all_call_info (unused, timeout, cancellable, callback, *user_data)

get_all_call_info_finish (res)

get_call_waiting (input, timeout, cancellable, callback, *user_data)

get_call_waiting_finish (res)

get_config (input, timeout, cancellable, callback, *user_data)

get_config_finish (res)

get_supported_messages (unused, timeout, cancellable, callback, *user_data)

get_supported_messages_finish (res)

indication_register (input, timeout, cancellable, callback, *user_data)

indication_register_finish (res)

manage_calls (input, timeout, cancellable, callback, *user_data)

manage_calls_finish (res)

originate_ussd (input, timeout, cancellable, callback, *user_data)

originate_ussd_finish (res)

originate_ussd_no_wait (input, timeout, cancellable, callback, *user_data)

originate_ussd_no_wait_finish (res)

set_supplementary_service (input, timeout, cancellable, callback, *user_data)

set_supplementary_service_finish (res)

start_continuous_dtmf (input, timeout, cancellable, callback, *user_data)

start_continuous_dtmf_finish (res)

stop_continuous_dtmf (input, timeout, cancellable, callback, *user_data)

stop_continuous_dtmf_finish (res)

Virtual Methods

Inherited:

Qmi.Client (1), GObject.Object (7)

Properties

Inherited:

Qmi.Client (6)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

all-call-status

The ::all-call-status signal gets emitted when a ‘’All Call Status [libqmi-glib-VOICE-All-Call-Status-indication.top_of_page]’’ indication is received.

originate-ussd-no-wait

The ::originate-ussd-no-wait signal gets emitted when a ‘’Originate USSD No Wait [libqmi-glib-VOICE-Originate-USSD-No-Wait-indication.top_of_page]’’ indication is received.

release-ussd

The ::release-ussd signal gets emitted when a ‘Release USSD’ indication is received.

supplementary-service

The ::supplementary-service signal gets emitted when a ‘’Supplementary Service [libqmi-glib-VOICE-Supplementary-Service-indication.top_of_page]’’ indication is received.

ussd

The ::ussd signal gets emitted when a ‘’USSD [libqmi-glib-VOICE-USSD-indication.top_of_page]’’ indication is received.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

Qmi.Client

r

priv_unused

object

r

Class Details

class Qmi.ClientVoice(**kwargs)
Bases:

Qmi.Client

Abstract:

No

Structure:

Qmi.ClientVoiceClass

The Qmi.ClientVoice structure 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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.answer_call().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceAnswerCallOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceAnswerCallOutput.unref().

Return type:

Qmi.MessageVoiceAnswerCallOutput

Finishes an async operation started with Qmi.ClientVoice.answer_call().

New in version 1.14.

answer_ussd(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.answer_ussd().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceAnswerUssdOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceAnswerUssdOutput.unref().

Return type:

Qmi.MessageVoiceAnswerUssdOutput

Finishes an async operation started with Qmi.ClientVoice.answer_ussd().

New in version 1.26.

burst_dtmf(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.burst_dtmf().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceBurstDtmfOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceBurstDtmfOutput.unref().

Return type:

Qmi.MessageVoiceBurstDtmfOutput

Finishes an async operation started with Qmi.ClientVoice.burst_dtmf().

New in version 1.32.

cancel_ussd(unused, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.cancel_ussd().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceCancelUssdOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceCancelUssdOutput.unref().

Return type:

Qmi.MessageVoiceCancelUssdOutput

Finishes an async operation started with Qmi.ClientVoice.cancel_ussd().

New in version 1.26.

dial_call(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.dial_call().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceDialCallOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceDialCallOutput.unref().

Return type:

Qmi.MessageVoiceDialCallOutput

Finishes an async operation started with Qmi.ClientVoice.dial_call().

New in version 1.14.

end_call(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.end_call().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceEndCallOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceEndCallOutput.unref().

Return type:

Qmi.MessageVoiceEndCallOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.get_all_call_info().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceGetAllCallInfoOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceGetAllCallInfoOutput.unref().

Return type:

Qmi.MessageVoiceGetAllCallInfoOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.get_call_waiting().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceGetCallWaitingOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceGetCallWaitingOutput.unref().

Return type:

Qmi.MessageVoiceGetCallWaitingOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.get_config().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceGetConfigOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceGetConfigOutput.unref().

Return type:

Qmi.MessageVoiceGetConfigOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.get_supported_messages().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceGetSupportedMessagesOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceGetSupportedMessagesOutput.unref().

Return type:

Qmi.MessageVoiceGetSupportedMessagesOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.indication_register().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceIndicationRegisterOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceIndicationRegisterOutput.unref().

Return type:

Qmi.MessageVoiceIndicationRegisterOutput

Finishes an async operation started with Qmi.ClientVoice.indication_register().

New in version 1.26.

manage_calls(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.manage_calls().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceManageCallsOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceManageCallsOutput.unref().

Return type:

Qmi.MessageVoiceManageCallsOutput

Finishes an async operation started with Qmi.ClientVoice.manage_calls().

New in version 1.30.

originate_ussd(input, timeout, cancellable, callback, *user_data)
Parameters:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.originate_ussd().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceOriginateUssdOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceOriginateUssdOutput.unref().

Return type:

Qmi.MessageVoiceOriginateUssdOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.originate_ussd_no_wait().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceOriginateUssdNoWaitOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceOriginateUssdNoWaitOutput.unref().

Return type:

Qmi.MessageVoiceOriginateUssdNoWaitOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.set_supplementary_service().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceSetSupplementaryServiceOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceSetSupplementaryServiceOutput.unref().

Return type:

Qmi.MessageVoiceSetSupplementaryServiceOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.start_continuous_dtmf().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceStartContinuousDtmfOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceStartContinuousDtmfOutput.unref().

Return type:

Qmi.MessageVoiceStartContinuousDtmfOutput

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:

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) – the Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to Qmi.ClientVoice.stop_continuous_dtmf().

Raises:

GLib.Error

Returns:

a Qmi.MessageVoiceStopContinuousDtmfOutput, or None if error is set. The returned value should be freed with Qmi.MessageVoiceStopContinuousDtmfOutput.unref().

Return type:

Qmi.MessageVoiceStopContinuousDtmfOutput

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:

RUN_LAST

Parameters:

The ::all-call-status signal 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:

RUN_LAST

Parameters:

The ::originate-ussd-no-wait signal 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:

RUN_LAST

Parameters:

client_voice (Qmi.ClientVoice) – The object which received the signal

The ::release-ussd signal 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:

RUN_LAST

Parameters:

The ::supplementary-service signal 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:

RUN_LAST

Parameters:

The ::ussd signal gets emitted when a ‘’USSD [libqmi-glib-VOICE-USSD-indication.top_of_page]’’ indication is received.

New in version 1.26.