ModemManager.GdbusModemVoice¶
| Implementations: | |
|---|---|
| ModemManager.GdbusModemVoiceProxy,ModemManager.GdbusModemVoiceSkeleton | |
Methods¶
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: - klass (GObject.ObjectClass) – The class structure for aGObject.Objectderived class.
- property_id_begin (int) – The property id to assign to the first overridden property.
 - Returns: - The last property id. - Return type: - Overrides all - GObject.Objectproperties in the- ModemManager.GdbusModemVoiceinterface for a concrete class. The properties are overridden in the order they are defined.
- klass (
 - 
call_call_waiting_query(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- cancellable (
 - 
call_call_waiting_query_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_call_waiting_query().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_status: - Return location for return parameter or - Noneto 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.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_status: - Return location for return parameter or - Noneto 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: - arg_enable (bool) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- arg_enable (
 - 
call_call_waiting_setup_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_call_waiting_setup().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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: - arg_enable (bool) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - Return type: - 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.
- arg_enable (
 - 
call_create_call(arg_properties, cancellable, callback, *user_data)¶
- Parameters: - arg_properties (GLib.Variant) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- arg_properties (
 - 
call_create_call_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_create_call().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_path: - Return location for return parameter or - Noneto 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: - arg_properties (GLib.Variant) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - Trueif the call succeeded,- Falseif error is set.- out_path: - Return location for return parameter or - Noneto ignore.- Return type: - 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.
- arg_properties (
 - 
call_delete_call(arg_path, cancellable, callback, *user_data)¶
- Parameters: - arg_path (str) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- arg_path (
 - 
call_delete_call_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_delete_call().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- Return type: - bool- Finishes an operation started with - ModemManager.GdbusModemVoice.call_delete_call().
 - 
call_delete_call_sync(arg_path, cancellable)¶
- Parameters: - arg_path (str) – Argument to pass with the method invocation.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - Return type: - 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.
- arg_path (
 - 
call_hangup_all(cancellable, callback, *user_data)¶
- Parameters: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- cancellable (
 - 
call_hangup_all_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_hangup_all().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- Return type: - bool- Finishes an operation started with - ModemManager.GdbusModemVoice.call_hangup_all().
 - 
call_hangup_all_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- cancellable (
 - 
call_hangup_and_accept_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_hangup_and_accept().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- cancellable (
 - 
call_hold_and_accept_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_hold_and_accept().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- cancellable (
 - 
call_list_calls_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_list_calls().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_result: - Return location for return parameter or - Noneto 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.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- out_result: - Return location for return parameter or - Noneto 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: - cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
- user_data (objectorNone) – User data to pass to callback.
 - 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.
- cancellable (
 - 
call_transfer_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemVoice.call_transfer().- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif error is set.- Return type: - bool- Finishes an operation started with - ModemManager.GdbusModemVoice.call_transfer().
 - 
call_transfer_sync(cancellable)¶
- Parameters: - cancellable ( - Gio.Cancellableor- None) – A- Gio.Cancellableor- None.- Raises: - GLib.Error- Returns: - Trueif the call succeeded,- Falseif 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: - invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- status (bool) – Parameter to return.
 - 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. 
- invocation (
 - 
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: - invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- path (str) – Parameter to return.
 - 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. 
- invocation (
 - 
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: - invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- result (str) – Parameter to return.
 - 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. 
- invocation (
 - 
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_handle_call_waiting_query(invocation) virtual¶
- Parameters: - invocation ( - Gio.DBusMethodInvocation) –- Return type: - bool
 - 
do_handle_call_waiting_setup(invocation, arg_enable) virtual¶
- Parameters: - invocation (Gio.DBusMethodInvocation) –
- arg_enable (bool) –
 - Return type: 
- invocation (
 - 
do_handle_create_call(invocation, arg_properties) virtual¶
- Parameters: - invocation (Gio.DBusMethodInvocation) –
- arg_properties (GLib.Variant) –
 - Return type: 
- invocation (
 - 
do_handle_delete_call(invocation, arg_path) virtual¶
- Parameters: - invocation (Gio.DBusMethodInvocation) –
- arg_path (str) –
 - Return type: 
- invocation (
 - 
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
 
- 
classmethod 
Signal Details¶
- 
ModemManager.GdbusModemVoice.signals.call_added(gdbus_modem_voice, arg_path)¶
- Signal Name: - call-added- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- arg_path (str) – Argument.
 - 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. 
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.call_deleted(gdbus_modem_voice, arg_path)¶
- Signal Name: - call-deleted- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- arg_path (str) – Argument.
 - 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. 
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_call_waiting_query(gdbus_modem_voice, invocation)¶
- Signal Name: - handle-call-waiting-query- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_call_waiting_setup(gdbus_modem_voice, invocation, arg_enable)¶
- Signal Name: - handle-call-waiting-setup- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- arg_enable (bool) – Argument passed by remote caller.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_create_call(gdbus_modem_voice, invocation, arg_properties)¶
- Signal Name: - handle-create-call- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- arg_properties (GLib.Variant) – Argument passed by remote caller.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_delete_call(gdbus_modem_voice, invocation, arg_path)¶
- Signal Name: - handle-delete-call- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- arg_path (str) – Argument passed by remote caller.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_hangup_all(gdbus_modem_voice, invocation)¶
- Signal Name: - handle-hangup-all- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_hangup_and_accept(gdbus_modem_voice, invocation)¶
- Signal Name: - handle-hangup-and-accept- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_hold_and_accept(gdbus_modem_voice, invocation)¶
- Signal Name: - handle-hold-and-accept- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_list_calls(gdbus_modem_voice, invocation)¶
- Signal Name: - handle-list-calls- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
- 
ModemManager.GdbusModemVoice.signals.handle_transfer(gdbus_modem_voice, invocation)¶
- Signal Name: - handle-transfer- Flags: - Parameters: - gdbus_modem_voice (ModemManager.GdbusModemVoice) – The object which received the signal
- invocation (Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
 - Returns: - Trueif the invocation was handled,- Falseto let other signal handlers run.- Return type: - 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 order signal handlers will run. If no signal handler handles the invocation, the- Gio.DBusError.UNKNOWN_METHODerror is returned.
- gdbus_modem_voice (
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.Objectproperty 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.Objectproperty 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.