ModemManager.GdbusCall

g GObject.GInterface GObject.GInterface ModemManager.GdbusCall ModemManager.GdbusCall GObject.GInterface->ModemManager.GdbusCall

Implementations:

ModemManager.GdbusCallProxy, ModemManager.GdbusCallSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

call_accept (cancellable, callback, *user_data)

call_accept_finish (res)

call_accept_sync (cancellable)

call_deflect (arg_number, cancellable, callback, *user_data)

call_deflect_finish (res)

call_deflect_sync (arg_number, cancellable)

call_hangup (cancellable, callback, *user_data)

call_hangup_finish (res)

call_hangup_sync (cancellable)

call_join_multiparty (cancellable, callback, *user_data)

call_join_multiparty_finish (res)

call_join_multiparty_sync (cancellable)

call_leave_multiparty (cancellable, callback, *user_data)

call_leave_multiparty_finish (res)

call_leave_multiparty_sync (cancellable)

call_send_dtmf (arg_dtmf, cancellable, callback, *user_data)

call_send_dtmf_finish (res)

call_send_dtmf_sync (arg_dtmf, cancellable)

call_start (cancellable, callback, *user_data)

call_start_finish (res)

call_start_sync (cancellable)

complete_accept (invocation)

complete_deflect (invocation)

complete_hangup (invocation)

complete_join_multiparty (invocation)

complete_leave_multiparty (invocation)

complete_send_dtmf (invocation)

complete_start (invocation)

emit_dtmf_received (arg_dtmf)

emit_state_changed (arg_old, arg_new, arg_reason)

Virtual Methods

do_dtmf_received (arg_dtmf)

do_handle_accept (invocation)

do_handle_deflect (invocation, arg_number)

do_handle_hangup (invocation)

do_handle_join_multiparty (invocation)

do_handle_leave_multiparty (invocation)

do_handle_send_dtmf (invocation, arg_dtmf)

do_handle_start (invocation)

do_state_changed (arg_old, arg_new, arg_reason)

Properties

Name

Type

Flags

Short Description

audio-format

GLib.Variant

r/w

AudioFormat

audio-port

str

r/w

AudioPort

direction

int

r/w

Direction

multiparty

bool

r/w

Multiparty

number

str

r/w

Number

state

int

r/w

State

state-reason

int

r/w

StateReason

Signals

Name

Short Description

dtmf-received

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

handle-accept

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

handle-deflect

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

handle-hangup

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

handle-join-multiparty

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

handle-leave-multiparty

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

handle-send-dtmf

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

handle-start

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

state-changed

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:

GObject.GInterface

Structure:

ModemManager.GdbusCallIface

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:

Gio.DBusInterfaceInfo

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:
Returns:

The last property id.

Return type:

int

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

call_accept(cancellable, callback, *user_data)
Parameters:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_accept().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_accept().

call_accept_sync(cancellable)
Parameters:

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

Raises:

GLib.Error

Returns:

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

Return type:

bool

Synchronously invokes the ‘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:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_deflect().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_deflect().

call_deflect_sync(arg_number, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

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

Return type:

bool

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:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_hangup().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_hangup().

call_hangup_sync(cancellable)
Parameters:

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

Raises:

GLib.Error

Returns:

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

Return type:

bool

Synchronously invokes the ‘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:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_join_multiparty().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_join_multiparty().

call_join_multiparty_sync(cancellable)
Parameters:

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

Raises:

GLib.Error

Returns:

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

Return type:

bool

Synchronously invokes the ‘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:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_leave_multiparty().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_leave_multiparty().

call_leave_multiparty_sync(cancellable)
Parameters:

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

Raises:

GLib.Error

Returns:

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

Return type:

bool

Synchronously invokes the ‘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:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_send_dtmf().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_send_dtmf().

call_send_dtmf_sync(arg_dtmf, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

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

Return type:

bool

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:

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 call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusCall.call_start().

Raises:

GLib.Error

Returns:

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

Return type:

bool

Finishes an operation started with ModemManager.GdbusCall.call_start().

call_start_sync(cancellable)
Parameters:

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

Raises:

GLib.Error

Returns:

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

Return type:

bool

Synchronously invokes the ‘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) – A Gio.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) – A Gio.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) – A Gio.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) – A Gio.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) – A Gio.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) – A Gio.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) – A Gio.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:
  • arg_old (int) – Argument to pass with the signal.

  • arg_new (int) – Argument to pass with the signal.

  • arg_reason (int) – Argument to pass with the signal.

Emits the ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Call.StateChanged]’ D-Bus signal.

do_dtmf_received(arg_dtmf) virtual
Parameters:

arg_dtmf (str) –

do_handle_accept(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_deflect(invocation, arg_number) virtual
Parameters:
Return type:

bool

do_handle_hangup(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_join_multiparty(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_leave_multiparty(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_send_dtmf(invocation, arg_dtmf) virtual
Parameters:
Return type:

bool

do_handle_start(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_state_changed(arg_old, arg_new, arg_reason) virtual
Parameters:
  • arg_old (int) –

  • arg_new (int) –

  • arg_reason (int) –

Signal Details

ModemManager.GdbusCall.signals.dtmf_received(gdbus_call, arg_dtmf)
Signal Name:

dtmf-received

Flags:

RUN_LAST

Parameters:

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:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.handle_deflect(gdbus_call, invocation, arg_number)
Signal Name:

handle-deflect

Flags:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.handle_hangup(gdbus_call, invocation)
Signal Name:

handle-hangup

Flags:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.handle_join_multiparty(gdbus_call, invocation)
Signal Name:

handle-join-multiparty

Flags:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.handle_leave_multiparty(gdbus_call, invocation)
Signal Name:

handle-leave-multiparty

Flags:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.handle_send_dtmf(gdbus_call, invocation, arg_dtmf)
Signal Name:

handle-send-dtmf

Flags:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.handle_start(gdbus_call, invocation)
Signal Name:

handle-start

Flags:

RUN_LAST

Parameters:
Returns:

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

Return type:

bool

Signal emitted when a remote caller is invoking the ‘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 call ModemManager.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, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusCall.signals.state_changed(gdbus_call, arg_old, arg_new, arg_reason)
Signal Name:

state-changed

Flags:

RUN_LAST

Parameters:
  • gdbus_call (ModemManager.GdbusCall) – The object which received the signal

  • arg_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:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“AudioFormat” [gdbus-property-org-freedesktop-ModemManager1-Call.AudioFormat]’.

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.GdbusCall.props.audio_port
Name:

audio-port

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“AudioPort” [gdbus-property-org-freedesktop-ModemManager1-Call.AudioPort]’.

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.GdbusCall.props.direction
Name:

direction

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Direction” [gdbus-property-org-freedesktop-ModemManager1-Call.Direction]’.

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.GdbusCall.props.multiparty
Name:

multiparty

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Multiparty” [gdbus-property-org-freedesktop-ModemManager1-Call.Multiparty]’.

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.GdbusCall.props.number
Name:

number

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Number” [gdbus-property-org-freedesktop-ModemManager1-Call.Number]’.

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.GdbusCall.props.state
Name:

state

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“State” [gdbus-property-org-freedesktop-ModemManager1-Call.State]’.

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.GdbusCall.props.state_reason
Name:

state-reason

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“StateReason” [gdbus-property-org-freedesktop-ModemManager1-Call.StateReason]’.

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.