ModemManager.GdbusModemVoice

g GObject.GInterface GObject.GInterface ModemManager.GdbusModemVoice ModemManager.GdbusModemVoice GObject.GInterface->ModemManager.GdbusModemVoice

Implementations:

ModemManager.GdbusModemVoiceProxy, ModemManager.GdbusModemVoiceSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

call_call_waiting_query (cancellable, callback, *user_data)

call_call_waiting_query_finish (res)

call_call_waiting_query_sync (cancellable)

call_call_waiting_setup (arg_enable, cancellable, callback, *user_data)

call_call_waiting_setup_finish (res)

call_call_waiting_setup_sync (arg_enable, cancellable)

call_create_call (arg_properties, cancellable, callback, *user_data)

call_create_call_finish (res)

call_create_call_sync (arg_properties, cancellable)

call_delete_call (arg_path, cancellable, callback, *user_data)

call_delete_call_finish (res)

call_delete_call_sync (arg_path, cancellable)

call_hangup_all (cancellable, callback, *user_data)

call_hangup_all_finish (res)

call_hangup_all_sync (cancellable)

call_hangup_and_accept (cancellable, callback, *user_data)

call_hangup_and_accept_finish (res)

call_hangup_and_accept_sync (cancellable)

call_hold_and_accept (cancellable, callback, *user_data)

call_hold_and_accept_finish (res)

call_hold_and_accept_sync (cancellable)

call_list_calls (cancellable, callback, *user_data)

call_list_calls_finish (res)

call_list_calls_sync (cancellable)

call_transfer (cancellable, callback, *user_data)

call_transfer_finish (res)

call_transfer_sync (cancellable)

complete_call_waiting_query (invocation, status)

complete_call_waiting_setup (invocation)

complete_create_call (invocation, path)

complete_delete_call (invocation)

complete_hangup_all (invocation)

complete_hangup_and_accept (invocation)

complete_hold_and_accept (invocation)

complete_list_calls (invocation, result)

complete_transfer (invocation)

emit_call_added (arg_path)

emit_call_deleted (arg_path)

Virtual Methods

do_call_added (arg_path)

do_call_deleted (arg_path)

do_handle_call_waiting_query (invocation)

do_handle_call_waiting_setup (invocation, arg_enable)

do_handle_create_call (invocation, arg_properties)

do_handle_delete_call (invocation, arg_path)

do_handle_hangup_all (invocation)

do_handle_hangup_and_accept (invocation)

do_handle_hold_and_accept (invocation)

do_handle_list_calls (invocation)

do_handle_transfer (invocation)

Properties

Name

Type

Flags

Short Description

calls

[str]

r/w

Calls

emergency-only

bool

r/w

EmergencyOnly

Signals

Name

Short Description

call-added

On the client-side, this signal is emitted whenever the D-Bus signal ‘“CallAdded” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallAdded]’ is received.

call-deleted

On the client-side, this signal is emitted whenever the D-Bus signal ‘“CallDeleted” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallDeleted]’ is received.

handle-call-waiting-query

Signal emitted when a remote caller is invoking the ‘CallWaitingQuery() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingQuery]’ D-Bus method.

handle-call-waiting-setup

Signal emitted when a remote caller is invoking the ‘CallWaitingSetup() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingSetup]’ D-Bus method.

handle-create-call

Signal emitted when a remote caller is invoking the ‘CreateCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CreateCall]’ D-Bus method.

handle-delete-call

Signal emitted when a remote caller is invoking the ‘DeleteCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.DeleteCall]’ D-Bus method.

handle-hangup-all

Signal emitted when a remote caller is invoking the ‘HangupAll() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAll]’ D-Bus method.

handle-hangup-and-accept

Signal emitted when a remote caller is invoking the ‘HangupAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAndAccept]’ D-Bus method.

handle-hold-and-accept

Signal emitted when a remote caller is invoking the ‘HoldAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HoldAndAccept]’ D-Bus method.

handle-list-calls

Signal emitted when a remote caller is invoking the ‘ListCalls() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.ListCalls]’ D-Bus method.

handle-transfer

Signal emitted when a remote caller is invoking the ‘Transfer() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.Transfer]’ D-Bus method.

Fields

None

Class Details

class ModemManager.GdbusModemVoice
Bases:

GObject.GInterface

Structure:

ModemManager.GdbusModemVoiceIface

Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Voice [gdbus-interface-org-freedesktop-ModemManager1-Modem-Voice.top_of_page]’.

classmethod interface_info()
Returns:

A Gio.DBusInterfaceInfo. Do not free.

Return type:

Gio.DBusInterfaceInfo

Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Voice [gdbus-interface-org-freedesktop-ModemManager1-Modem-Voice.top_of_page]’ D-Bus interface.

classmethod override_properties(klass, property_id_begin)
Parameters:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the ModemManager.GdbusModemVoice interface for a concrete class. The properties are overridden in the order they are defined.

call_call_waiting_query(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘CallWaitingQuery() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingQuery]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_call_waiting_query_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_call_waiting_query_sync() for the synchronous, blocking version of this method.

call_call_waiting_query_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_call_waiting_query().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_status:

Return location for return parameter or None to ignore.

Return type:

(bool, out_status: bool)

Finishes an operation started with ModemManager.GdbusModemVoice.call_call_waiting_query().

call_call_waiting_query_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_status:

Return location for return parameter or None to ignore.

Return type:

(bool, out_status: bool)

Synchronously invokes the ‘CallWaitingQuery() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingQuery]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_call_waiting_query() for the asynchronous version of this method.

call_call_waiting_setup(arg_enable, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘CallWaitingSetup() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingSetup]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_call_waiting_setup_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_call_waiting_setup_sync() for the synchronous, blocking version of this method.

call_call_waiting_setup_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_call_waiting_setup().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModemVoice.call_call_waiting_setup().

call_call_waiting_setup_sync(arg_enable, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘CallWaitingSetup() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingSetup]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_call_waiting_setup() for the asynchronous version of this method.

call_create_call(arg_properties, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘CreateCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CreateCall]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_create_call_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_create_call_sync() for the synchronous, blocking version of this method.

call_create_call_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_create_call().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_path:

Return location for return parameter or None to ignore.

Return type:

(bool, out_path: str)

Finishes an operation started with ModemManager.GdbusModemVoice.call_create_call().

call_create_call_sync(arg_properties, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_path:

Return location for return parameter or None to ignore.

Return type:

(bool, out_path: str)

Synchronously invokes the ‘CreateCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CreateCall]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_create_call() for the asynchronous version of this method.

call_delete_call(arg_path, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘DeleteCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.DeleteCall]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_delete_call_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_delete_call_sync() for the synchronous, blocking version of this method.

call_delete_call_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_delete_call().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModemVoice.call_delete_call().

call_delete_call_sync(arg_path, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘DeleteCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.DeleteCall]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_delete_call() for the asynchronous version of this method.

call_hangup_all(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘HangupAll() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAll]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_hangup_all_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_hangup_all_sync() for the synchronous, blocking version of this method.

call_hangup_all_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_hangup_all().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModemVoice.call_hangup_all().

call_hangup_all_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘HangupAll() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAll]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_hangup_all() for the asynchronous version of this method.

call_hangup_and_accept(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘HangupAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAndAccept]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_hangup_and_accept_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_hangup_and_accept_sync() for the synchronous, blocking version of this method.

call_hangup_and_accept_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_hangup_and_accept().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModemVoice.call_hangup_and_accept().

call_hangup_and_accept_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘HangupAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAndAccept]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_hangup_and_accept() for the asynchronous version of this method.

call_hold_and_accept(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘HoldAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HoldAndAccept]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_hold_and_accept_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_hold_and_accept_sync() for the synchronous, blocking version of this method.

call_hold_and_accept_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_hold_and_accept().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModemVoice.call_hold_and_accept().

call_hold_and_accept_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘HoldAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HoldAndAccept]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_hold_and_accept() for the asynchronous version of this method.

call_list_calls(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘ListCalls() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.ListCalls]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_list_calls_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_list_calls_sync() for the synchronous, blocking version of this method.

call_list_calls_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_list_calls().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_result:

Return location for return parameter or None to ignore.

Return type:

(bool, out_result: [str])

Finishes an operation started with ModemManager.GdbusModemVoice.call_list_calls().

call_list_calls_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_result:

Return location for return parameter or None to ignore.

Return type:

(bool, out_result: [str])

Synchronously invokes the ‘ListCalls() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.ListCalls]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_list_calls() for the asynchronous version of this method.

call_transfer(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Transfer() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.Transfer]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModemVoice.call_transfer_finish() to get the result of the operation.

See ModemManager.GdbusModemVoice.call_transfer_sync() for the synchronous, blocking version of this method.

call_transfer_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModemVoice.call_transfer().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModemVoice.call_transfer().

call_transfer_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Transfer() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.Transfer]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemVoice.call_transfer() for the asynchronous version of this method.

complete_call_waiting_query(invocation, status)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘CallWaitingQuery() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingQuery]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_call_waiting_setup(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘CallWaitingSetup() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingSetup]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_create_call(invocation, path)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘CreateCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CreateCall]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_delete_call(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘DeleteCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.DeleteCall]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_hangup_all(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘HangupAll() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAll]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_hangup_and_accept(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘HangupAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAndAccept]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_hold_and_accept(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘HoldAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HoldAndAccept]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_list_calls(invocation, result)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘ListCalls() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.ListCalls]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_transfer(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Transfer() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.Transfer]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

emit_call_added(arg_path)
Parameters:

arg_path (str) – Argument to pass with the signal.

Emits the ‘“CallAdded” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallAdded]’ D-Bus signal.

emit_call_deleted(arg_path)
Parameters:

arg_path (str) – Argument to pass with the signal.

Emits the ‘“CallDeleted” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallDeleted]’ D-Bus signal.

do_call_added(arg_path) virtual
Parameters:

arg_path (str) –

do_call_deleted(arg_path) virtual
Parameters:

arg_path (str) –

do_handle_call_waiting_query(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_call_waiting_setup(invocation, arg_enable) virtual
Parameters:
Return type:

bool

do_handle_create_call(invocation, arg_properties) virtual
Parameters:
Return type:

bool

do_handle_delete_call(invocation, arg_path) virtual
Parameters:
Return type:

bool

do_handle_hangup_all(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_hangup_and_accept(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_hold_and_accept(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_list_calls(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_transfer(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

Signal Details

ModemManager.GdbusModemVoice.signals.call_added(gdbus_modem_voice, arg_path)
Signal Name:

call-added

Flags:

RUN_LAST

Parameters:

On the client-side, this signal is emitted whenever the D-Bus signal ‘“CallAdded” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallAdded]’ is received.

On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.

ModemManager.GdbusModemVoice.signals.call_deleted(gdbus_modem_voice, arg_path)
Signal Name:

call-deleted

Flags:

RUN_LAST

Parameters:

On the client-side, this signal is emitted whenever the D-Bus signal ‘“CallDeleted” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallDeleted]’ is received.

On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.

ModemManager.GdbusModemVoice.signals.handle_call_waiting_query(gdbus_modem_voice, invocation)
Signal Name:

handle-call-waiting-query

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘CallWaitingQuery() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingQuery]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_call_waiting_query() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_call_waiting_setup(gdbus_modem_voice, invocation, arg_enable)
Signal Name:

handle-call-waiting-setup

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘CallWaitingSetup() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingSetup]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_call_waiting_setup() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_create_call(gdbus_modem_voice, invocation, arg_properties)
Signal Name:

handle-create-call

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘CreateCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CreateCall]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_create_call() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_delete_call(gdbus_modem_voice, invocation, arg_path)
Signal Name:

handle-delete-call

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘DeleteCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.DeleteCall]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_delete_call() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_hangup_all(gdbus_modem_voice, invocation)
Signal Name:

handle-hangup-all

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘HangupAll() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAll]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_hangup_all() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_hangup_and_accept(gdbus_modem_voice, invocation)
Signal Name:

handle-hangup-and-accept

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘HangupAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAndAccept]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_hangup_and_accept() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_hold_and_accept(gdbus_modem_voice, invocation)
Signal Name:

handle-hold-and-accept

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘HoldAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HoldAndAccept]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_hold_and_accept() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_list_calls(gdbus_modem_voice, invocation)
Signal Name:

handle-list-calls

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘ListCalls() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.ListCalls]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_list_calls() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModemVoice.signals.handle_transfer(gdbus_modem_voice, invocation)
Signal Name:

handle-transfer

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Transfer() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.Transfer]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModemVoice.complete_transfer() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

Property Details

ModemManager.GdbusModemVoice.props.calls
Name:

calls

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Calls” [gdbus-property-org-freedesktop-ModemManager1-Modem-Voice.Calls]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModemVoice.props.emergency_only
Name:

emergency-only

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“EmergencyOnly” [gdbus-property-org-freedesktop-ModemManager1-Modem-Voice.EmergencyOnly]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.