ModemManager.GdbusModemVoice¶
- Implementations:
ModemManager.GdbusModemVoiceProxy
,ModemManager.GdbusModemVoiceSkeleton
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
[ |
r/w |
Calls |
|
r/w |
EmergencyOnly |
Signals¶
Name |
Short Description |
---|---|
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 client-side, this signal is emitted whenever the D-Bus signal ‘“CallDeleted” [gdbus-signal-org-freedesktop-ModemManager1-Modem-Voice.CallDeleted]’ is received. |
|
Signal emitted when a remote caller is invoking the ‘CallWaitingQuery() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingQuery]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘CallWaitingSetup() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CallWaitingSetup]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘CreateCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.CreateCall]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘DeleteCall() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.DeleteCall]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘HangupAll() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAll]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘HangupAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HangupAndAccept]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘HoldAndAccept() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.HoldAndAccept]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘ListCalls() [gdbus-method-org-freedesktop-ModemManager1-Modem-Voice.ListCalls]’ D-Bus method. |
|
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:
- Structure:
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:
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.Object
derived 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.Object
properties in theModemManager.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:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_call_waiting_query
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_status:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
ModemManager.GdbusModemVoice.call_call_waiting_query
().
- call_call_waiting_query_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_status:
Return location for return parameter or
None
to ignore.
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_call_waiting_setup
().- Raises:
- Returns:
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- 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.
- call_create_call(arg_properties, cancellable, callback, *user_data)¶
- Parameters:
arg_properties (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_create_call
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_path:
Return location for return parameter or
None
to ignore.
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_path:
Return location for return parameter or
None
to 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.
- call_delete_call(arg_path, cancellable, callback, *user_data)¶
- Parameters:
arg_path (
str
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_delete_call
().- Raises:
- Returns:
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- 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.
- call_hangup_all(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_hangup_all
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModemVoice.call_hangup_all
().
- call_hangup_all_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_hangup_and_accept
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModemVoice.call_hangup_and_accept
().
- call_hangup_and_accept_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_hold_and_accept
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModemVoice.call_hold_and_accept
().
- call_hold_and_accept_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_list_calls
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
ModemManager.GdbusModemVoice.call_list_calls
().
- call_list_calls_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_result:
Return location for return parameter or
None
to ignore.
- Return type:
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.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
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 callModemManager.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
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toModemManager.GdbusModemVoice.call_transfer
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusModemVoice.call_transfer
().
- call_transfer_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
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.
- complete_call_waiting_setup(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.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.
- complete_delete_call(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.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
) – AGio.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
) – AGio.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
) – AGio.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.
- complete_transfer(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.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:
- do_handle_call_waiting_setup(invocation, arg_enable) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_enable (
bool
) –
- Return type:
- do_handle_create_call(invocation, arg_properties) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_properties (
GLib.Variant
) –
- Return type:
- do_handle_delete_call(invocation, arg_path) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_path (
str
) –
- Return type:
- do_handle_hangup_all(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_hangup_and_accept(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_hold_and_accept(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_list_calls(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
- do_handle_transfer(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
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 signalarg_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.
- 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 signalarg_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.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.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:
- Parameters:
gdbus_modem_voice (
ModemManager.GdbusModemVoice
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_enable (
bool
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_properties (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_path (
str
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- 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 signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to 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 callModemManager.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, theGio.DBusError.UNKNOWN_METHOD
error is returned.
Property Details¶
- ModemManager.GdbusModemVoice.props.calls¶
-
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¶
-
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.