ModemManager.GdbusCall¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
AudioFormat |
||
r/w |
AudioPort |
||
r/w |
Direction |
||
r/w |
Multiparty |
||
r/w |
Number |
||
r/w |
State |
||
r/w |
StateReason |
Signals¶
Name |
Short Description |
|---|---|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“DtmfReceived” [gdbus-signal-org-freedesktop-ModemManager1-Call.DtmfReceived]’ is received. |
|
Signal emitted when a remote caller is invoking the ‘Accept() [gdbus-method-org-freedesktop-ModemManager1-Call.Accept]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Deflect() [gdbus-method-org-freedesktop-ModemManager1-Call.Deflect]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Hangup() [gdbus-method-org-freedesktop-ModemManager1-Call.Hangup]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘JoinMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.JoinMultiparty]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘LeaveMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.LeaveMultiparty]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘SendDtmf() [gdbus-method-org-freedesktop-ModemManager1-Call.SendDtmf]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Start() [gdbus-method-org-freedesktop-ModemManager1-Call.Start]’ D-Bus method. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Call.StateChanged]’ is received. |
Fields¶
None
Class Details¶
- class ModemManager.GdbusCall¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Call [gdbus-interface-org-freedesktop-ModemManager1-Call.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.Call [gdbus-interface-org-freedesktop-ModemManager1-Call.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 theModemManager.GdbusCallinterface for a concrete class. The properties are overridden in the order they are defined.
- call_accept(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘Accept() [gdbus-method-org-freedesktop-ModemManager1-Call.Accept]’ 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.GdbusCall.call_accept_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_accept_sync() for the synchronous, blocking version of this method.
- call_accept_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_accept().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_accept().
- call_accept_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Accept() [gdbus-method-org-freedesktop-ModemManager1-Call.Accept]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_accept() for the asynchronous version of this method.
- call_deflect(arg_number, cancellable, callback, *user_data)¶
- Parameters:
arg_number (
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.
Asynchronously invokes the ‘Deflect() [gdbus-method-org-freedesktop-ModemManager1-Call.Deflect]’ 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.GdbusCall.call_deflect_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_deflect_sync() for the synchronous, blocking version of this method.
- call_deflect_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_deflect().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_deflect().
- call_deflect_sync(arg_number, cancellable)¶
- Parameters:
arg_number (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Deflect() [gdbus-method-org-freedesktop-ModemManager1-Call.Deflect]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_deflect() for the asynchronous version of this method.
- call_hangup(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘Hangup() [gdbus-method-org-freedesktop-ModemManager1-Call.Hangup]’ 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.GdbusCall.call_hangup_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_hangup_sync() for the synchronous, blocking version of this method.
- call_hangup_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_hangup().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_hangup().
- call_hangup_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Hangup() [gdbus-method-org-freedesktop-ModemManager1-Call.Hangup]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_hangup() for the asynchronous version of this method.
- call_join_multiparty(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘JoinMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.JoinMultiparty]’ 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.GdbusCall.call_join_multiparty_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_join_multiparty_sync() for the synchronous, blocking version of this method.
- call_join_multiparty_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_join_multiparty().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_join_multiparty().
- call_join_multiparty_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘JoinMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.JoinMultiparty]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_join_multiparty() for the asynchronous version of this method.
- call_leave_multiparty(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘LeaveMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.LeaveMultiparty]’ 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.GdbusCall.call_leave_multiparty_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_leave_multiparty_sync() for the synchronous, blocking version of this method.
- call_leave_multiparty_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_leave_multiparty().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_leave_multiparty().
- call_leave_multiparty_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘LeaveMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.LeaveMultiparty]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_leave_multiparty() for the asynchronous version of this method.
- call_send_dtmf(arg_dtmf, cancellable, callback, *user_data)¶
- Parameters:
arg_dtmf (
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.
Asynchronously invokes the ‘SendDtmf() [gdbus-method-org-freedesktop-ModemManager1-Call.SendDtmf]’ 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.GdbusCall.call_send_dtmf_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_send_dtmf_sync() for the synchronous, blocking version of this method.
- call_send_dtmf_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_send_dtmf().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_send_dtmf().
- call_send_dtmf_sync(arg_dtmf, cancellable)¶
- Parameters:
arg_dtmf (
str) – Argument to pass with the method invocation.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘SendDtmf() [gdbus-method-org-freedesktop-ModemManager1-Call.SendDtmf]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_send_dtmf() for the asynchronous version of this method.
- call_start(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously invokes the ‘Start() [gdbus-method-org-freedesktop-ModemManager1-Call.Start]’ 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.GdbusCall.call_start_finish() to get the result of the operation.See
ModemManager.GdbusCall.call_start_sync() for the synchronous, blocking version of this method.
- call_start_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.GdbusCall.call_start().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.GdbusCall.call_start().
- call_start_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Start() [gdbus-method-org-freedesktop-ModemManager1-Call.Start]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
ModemManager.GdbusCall.call_start() for the asynchronous version of this method.
- complete_accept(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Accept() [gdbus-method-org-freedesktop-ModemManager1-Call.Accept]’ 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_deflect(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Deflect() [gdbus-method-org-freedesktop-ModemManager1-Call.Deflect]’ 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(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Hangup() [gdbus-method-org-freedesktop-ModemManager1-Call.Hangup]’ 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_join_multiparty(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘JoinMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.JoinMultiparty]’ 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_leave_multiparty(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘LeaveMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.LeaveMultiparty]’ 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_send_dtmf(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘SendDtmf() [gdbus-method-org-freedesktop-ModemManager1-Call.SendDtmf]’ 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_start(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
Helper function used in service implementations to finish handling invocations of the ‘Start() [gdbus-method-org-freedesktop-ModemManager1-Call.Start]’ 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_dtmf_received(arg_dtmf)¶
- Parameters:
arg_dtmf (
str) – Argument to pass with the signal.
Emits the ‘“DtmfReceived” [gdbus-signal-org-freedesktop-ModemManager1-Call.DtmfReceived]’ D-Bus signal.
- emit_state_changed(arg_old, arg_new, arg_reason)¶
- Parameters:
Emits the ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Call.StateChanged]’ D-Bus signal.
- do_dtmf_received(arg_dtmf) virtual¶
- Parameters:
arg_dtmf (
str) –
Handler for the
ModemManager.GdbusCall::dtmf-receivedsignal.
- do_handle_accept(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
ModemManager.GdbusCall::handle-acceptsignal.
- do_handle_deflect(invocation, arg_number) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_number (
str) –
- Return type:
Handler for the
ModemManager.GdbusCall::handle-deflectsignal.
- do_handle_hangup(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
ModemManager.GdbusCall::handle-hangupsignal.
- do_handle_join_multiparty(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
ModemManager.GdbusCall::handle-join-multipartysignal.
- do_handle_leave_multiparty(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
ModemManager.GdbusCall::handle-leave-multipartysignal.
- do_handle_send_dtmf(invocation, arg_dtmf) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –arg_dtmf (
str) –
- Return type:
Handler for the
ModemManager.GdbusCall::handle-send-dtmfsignal.
- do_handle_start(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation) –- Return type:
Handler for the
ModemManager.GdbusCall::handle-startsignal.
- do_state_changed(arg_old, arg_new, arg_reason) virtual¶
-
Handler for the
ModemManager.GdbusCall::state-changedsignal.
Signal Details¶
- ModemManager.GdbusCall.signals.dtmf_received(gdbus_call, arg_dtmf)¶
- Signal Name:
dtmf-received- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalarg_dtmf (
str) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“DtmfReceived” [gdbus-signal-org-freedesktop-ModemManager1-Call.DtmfReceived]’ 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.GdbusCall.signals.handle_accept(gdbus_call, invocation)¶
- Signal Name:
handle-accept- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Accept() [gdbus-method-org-freedesktop-ModemManager1-Call.Accept]’ 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.GdbusCall.complete_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_METHODerror is returned.
- ModemManager.GdbusCall.signals.handle_deflect(gdbus_call, invocation, arg_number)¶
- Signal Name:
handle-deflect- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_number (
str) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Deflect() [gdbus-method-org-freedesktop-ModemManager1-Call.Deflect]’ 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.GdbusCall.complete_deflect() 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_METHODerror is returned.
- ModemManager.GdbusCall.signals.handle_hangup(gdbus_call, invocation)¶
- Signal Name:
handle-hangup- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Hangup() [gdbus-method-org-freedesktop-ModemManager1-Call.Hangup]’ 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.GdbusCall.complete_hangup() 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_METHODerror is returned.
- ModemManager.GdbusCall.signals.handle_join_multiparty(gdbus_call, invocation)¶
- Signal Name:
handle-join-multiparty- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘JoinMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.JoinMultiparty]’ 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.GdbusCall.complete_join_multiparty() 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_METHODerror is returned.
- ModemManager.GdbusCall.signals.handle_leave_multiparty(gdbus_call, invocation)¶
- Signal Name:
handle-leave-multiparty- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘LeaveMultiparty() [gdbus-method-org-freedesktop-ModemManager1-Call.LeaveMultiparty]’ 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.GdbusCall.complete_leave_multiparty() 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_METHODerror is returned.
- ModemManager.GdbusCall.signals.handle_send_dtmf(gdbus_call, invocation, arg_dtmf)¶
- Signal Name:
handle-send-dtmf- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.arg_dtmf (
str) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘SendDtmf() [gdbus-method-org-freedesktop-ModemManager1-Call.SendDtmf]’ 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.GdbusCall.complete_send_dtmf() 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_METHODerror is returned.
- ModemManager.GdbusCall.signals.handle_start(gdbus_call, invocation)¶
- Signal Name:
handle-start- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalinvocation (
Gio.DBusMethodInvocation) – AGio.DBusMethodInvocation.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLEDorTrueif the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLEDorFalseto let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Start() [gdbus-method-org-freedesktop-ModemManager1-Call.Start]’ 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.GdbusCall.complete_start() 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_METHODerror is returned.
- ModemManager.GdbusCall.signals.state_changed(gdbus_call, arg_old, arg_new, arg_reason)¶
- Signal Name:
state-changed- Flags:
- Parameters:
gdbus_call (
ModemManager.GdbusCall) – The object which received the signalarg_old (
int) – Argument.arg_new (
int) – Argument.arg_reason (
int) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Call.StateChanged]’ 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.
Property Details¶
- ModemManager.GdbusCall.props.audio_format¶
- Name:
audio-format- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“AudioFormat” [gdbus-property-org-freedesktop-ModemManager1-Call.AudioFormat]’.
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.GdbusCall.props.audio_port¶
-
Represents the D-Bus property ‘“AudioPort” [gdbus-property-org-freedesktop-ModemManager1-Call.AudioPort]’.
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.GdbusCall.props.direction¶
-
Represents the D-Bus property ‘“Direction” [gdbus-property-org-freedesktop-ModemManager1-Call.Direction]’.
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.GdbusCall.props.multiparty¶
-
Represents the D-Bus property ‘“Multiparty” [gdbus-property-org-freedesktop-ModemManager1-Call.Multiparty]’.
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.GdbusCall.props.number¶
-
Represents the D-Bus property ‘“Number” [gdbus-property-org-freedesktop-ModemManager1-Call.Number]’.
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.GdbusCall.props.state¶
-
Represents the D-Bus property ‘“State” [gdbus-property-org-freedesktop-ModemManager1-Call.State]’.
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.GdbusCall.props.state_reason¶
-
Represents the D-Bus property ‘“StateReason” [gdbus-property-org-freedesktop-ModemManager1-Call.StateReason]’.
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.