Top |
MmGdbusModemVoiceMmGdbusModemVoice — Generated C code for the org.freedesktop.ModemManager1.Modem.Voice D-Bus interface |
MmGdbusModemVoice is implemented by MMModemVoice, MmGdbusModemVoiceProxy and MmGdbusModemVoiceSkeleton.
This section contains code for working with the org.freedesktop.ModemManager1.Modem.Voice D-Bus interface in C.
const gchar *const *
mm_gdbus_modem_voice_get_calls (MmGdbusModemVoice *object
);
Gets the value of the "Calls" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object
was constructed. Use mm_gdbus_modem_voice_dup_calls()
if on another thread.
[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
gchar **
mm_gdbus_modem_voice_dup_calls (MmGdbusModemVoice *object
);
Gets a copy of the "Calls" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full][nullable]
gboolean
mm_gdbus_modem_voice_get_emergency_only
(MmGdbusModemVoice *object
);
Gets the value of the "EmergencyOnly" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
[skip]
void mm_gdbus_modem_voice_call_create_call (MmGdbusModemVoice *proxy
,GVariant *arg_properties
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the CreateCall()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_create_call_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_create_call_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_properties |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_create_call_finish (MmGdbusModemVoice *proxy
,gchar **out_path
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_create_call()
.
proxy |
||
out_path |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_create_call_sync (MmGdbusModemVoice *proxy
,GVariant *arg_properties
,gchar **out_path
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the CreateCall()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_create_call()
for the asynchronous version of this method.
proxy |
||
arg_properties |
Argument to pass with the method invocation. |
|
out_path |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_delete_call (MmGdbusModemVoice *proxy
,const gchar *arg_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the DeleteCall()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_delete_call_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_delete_call_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_path |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_delete_call_finish (MmGdbusModemVoice *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_delete_call()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_delete_call_sync (MmGdbusModemVoice *proxy
,const gchar *arg_path
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the DeleteCall()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_delete_call()
for the asynchronous version of this method.
proxy |
||
arg_path |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_list_calls (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ListCalls()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_list_calls_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_list_calls_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_list_calls_finish (MmGdbusModemVoice *proxy
,gchar ***out_result
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_list_calls()
.
proxy |
||
out_result |
Return location for return parameter or |
[out][optional][array zero-terminated=1] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_list_calls_sync (MmGdbusModemVoice *proxy
,gchar ***out_result
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ListCalls()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_list_calls()
for the asynchronous version of this method.
proxy |
||
out_result |
Return location for return parameter or |
[out][optional][array zero-terminated=1] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_hangup_and_accept (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the HangupAndAccept()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_hangup_and_accept_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_hangup_and_accept_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_hangup_and_accept_finish (MmGdbusModemVoice *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_hangup_and_accept()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_hangup_and_accept_sync (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the HangupAndAccept()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_hangup_and_accept()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_hold_and_accept (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the HoldAndAccept()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_hold_and_accept_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_hold_and_accept_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_hold_and_accept_finish (MmGdbusModemVoice *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_hold_and_accept()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_hold_and_accept_sync (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the HoldAndAccept()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_hold_and_accept()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_hangup_all (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the HangupAll()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_hangup_all_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_hangup_all_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_hangup_all_finish (MmGdbusModemVoice *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_hangup_all()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_hangup_all_sync (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the HangupAll()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_hangup_all()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_transfer (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Transfer()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_transfer_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_transfer_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_transfer_finish (MmGdbusModemVoice *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_transfer()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_transfer_sync (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Transfer()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_transfer()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_call_waiting_query (MmGdbusModemVoice *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the CallWaitingQuery()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_call_waiting_query_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_call_waiting_query_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_call_waiting_query_finish (MmGdbusModemVoice *proxy
,gboolean *out_status
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_call_waiting_query()
.
proxy |
||
out_status |
Return location for return parameter or |
[out][optional] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_call_waiting_query_sync (MmGdbusModemVoice *proxy
,gboolean *out_status
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the CallWaitingQuery()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_call_waiting_query()
for the asynchronous version of this method.
proxy |
||
out_status |
Return location for return parameter or |
[out][optional] |
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_modem_voice_call_call_waiting_setup (MmGdbusModemVoice *proxy
,gboolean arg_enable
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the CallWaitingSetup()
proxy
.
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 g_main_context_push_thread_default()
).
You can then call mm_gdbus_modem_voice_call_call_waiting_setup_finish()
to get the result of the operation.
See mm_gdbus_modem_voice_call_call_waiting_setup_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_enable |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
gboolean mm_gdbus_modem_voice_call_call_waiting_setup_finish (MmGdbusModemVoice *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_modem_voice_call_call_waiting_setup()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_modem_voice_call_call_waiting_setup_sync (MmGdbusModemVoice *proxy
,gboolean arg_enable
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the CallWaitingSetup()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_voice_call_call_waiting_setup()
for the asynchronous version of this method.
proxy |
||
arg_enable |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
typedef struct _MmGdbusModemVoice MmGdbusModemVoice;
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Voice.
struct MmGdbusModemVoiceIface { GTypeInterface parent_iface; gboolean (*handle_call_waiting_query) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation); gboolean (*handle_call_waiting_setup) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gboolean arg_enable); gboolean (*handle_create_call) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, GVariant *arg_properties); gboolean (*handle_delete_call) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, const gchar *arg_path); gboolean (*handle_hangup_all) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation); gboolean (*handle_hangup_and_accept) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation); gboolean (*handle_hold_and_accept) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation); gboolean (*handle_list_calls) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation); gboolean (*handle_transfer) ( MmGdbusModemVoice *object, GDBusMethodInvocation *invocation); const gchar *const * (*get_calls) (MmGdbusModemVoice *object); gboolean (*get_emergency_only) (MmGdbusModemVoice *object); void (*call_added) ( MmGdbusModemVoice *object, const gchar *arg_path); void (*call_deleted) ( MmGdbusModemVoice *object, const gchar *arg_path); };
Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.Voice.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-call-waiting-query” signal. |
||
Handler for the “handle-call-waiting-setup” signal. |
||
Handler for the “handle-create-call” signal. |
||
Handler for the “handle-delete-call” signal. |
||
Handler for the “handle-hangup-all” signal. |
||
Handler for the “handle-hangup-and-accept” signal. |
||
Handler for the “handle-hold-and-accept” signal. |
||
Handler for the “handle-list-calls” signal. |
||
Handler for the “handle-transfer” signal. |
||
Getter for the “calls” property. |
||
Getter for the “emergency-only” property. |
||
Handler for the “call-added” signal. |
||
Handler for the “call-deleted” signal. |
“calls”
property“calls” GStrv
Represents the D-Bus property "Calls".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModemVoice
Flags: Read / Write
“emergency-only”
property“emergency-only” gboolean
Represents the D-Bus property "EmergencyOnly".
Since the D-Bus property for this GObject 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.
Owner: MmGdbusModemVoice
Flags: Read / Write
Default value: FALSE
“call-added”
signalvoid user_function (MmGdbusModemVoice *object, char *arg_path, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "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.
Flags: Run Last
“call-deleted”
signalvoid user_function (MmGdbusModemVoice *object, char *arg_path, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "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.
Flags: Run Last
“handle-call-waiting-query”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the CallWaitingQuery()
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 mm_gdbus_modem_voice_complete_call_waiting_query()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-call-waiting-setup”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gboolean arg_enable, gpointer user_data)
Signal emitted when a remote caller is invoking the CallWaitingSetup()
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 mm_gdbus_modem_voice_complete_call_waiting_setup()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_enable |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-create-call”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, GVariant *arg_properties, gpointer user_data)
Signal emitted when a remote caller is invoking the CreateCall()
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 mm_gdbus_modem_voice_complete_create_call()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_properties |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-delete-call”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, char *arg_path, gpointer user_data)
Signal emitted when a remote caller is invoking the DeleteCall()
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 mm_gdbus_modem_voice_complete_delete_call()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_path |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-hangup-all”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the HangupAll()
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 mm_gdbus_modem_voice_complete_hangup_all()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-hangup-and-accept”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the HangupAndAccept()
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 mm_gdbus_modem_voice_complete_hangup_and_accept()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-hold-and-accept”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the HoldAndAccept()
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 mm_gdbus_modem_voice_complete_hold_and_accept()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-list-calls”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the ListCalls()
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 mm_gdbus_modem_voice_complete_list_calls()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last
“handle-transfer”
signalgboolean user_function (MmGdbusModemVoice *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Transfer()
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 mm_gdbus_modem_voice_complete_transfer()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
G_DBUS_METHOD_INVOCATION_HANDLED
or TRUE
if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED
or FALSE
to let other signal handlers run.
Flags: Run Last