MmGdbusModemContacts

MmGdbusModemContacts — Generated C code for the org.freedesktop.ModemManager1.Modem.Contacts D-Bus interface

Synopsis

                    MmGdbusModemContacts;
struct              MmGdbusModemContactsIface;

void                mm_gdbus_modem_contacts_call_add    (MmGdbusModemContacts *proxy,
                                                         GVariant *arg_properties,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            mm_gdbus_modem_contacts_call_add_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         guint *out_index,
                                                         GAsyncResult *res,
                                                         GError **error);
gboolean            mm_gdbus_modem_contacts_call_add_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant *arg_properties,
                                                         guint *out_index,
                                                         GCancellable *cancellable,
                                                         GError **error);
void                mm_gdbus_modem_contacts_call_delete (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            mm_gdbus_modem_contacts_call_delete_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GAsyncResult *res,
                                                         GError **error);
gboolean            mm_gdbus_modem_contacts_call_delete_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GCancellable *cancellable,
                                                         GError **error);
void                mm_gdbus_modem_contacts_call_find   (MmGdbusModemContacts *proxy,
                                                         const gchar *arg_pattern,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            mm_gdbus_modem_contacts_call_find_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_results,
                                                         GAsyncResult *res,
                                                         GError **error);
gboolean            mm_gdbus_modem_contacts_call_find_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         const gchar *arg_pattern,
                                                         GVariant **out_results,
                                                         GCancellable *cancellable,
                                                         GError **error);
void                mm_gdbus_modem_contacts_call_get    (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            mm_gdbus_modem_contacts_call_get_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_properties,
                                                         GAsyncResult *res,
                                                         GError **error);
gboolean            mm_gdbus_modem_contacts_call_get_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GVariant **out_properties,
                                                         GCancellable *cancellable,
                                                         GError **error);
void                mm_gdbus_modem_contacts_call_get_count
                                                        (MmGdbusModemContacts *proxy,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            mm_gdbus_modem_contacts_call_get_count_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         guint *out_count,
                                                         GAsyncResult *res,
                                                         GError **error);
gboolean            mm_gdbus_modem_contacts_call_get_count_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         guint *out_count,
                                                         GCancellable *cancellable,
                                                         GError **error);
void                mm_gdbus_modem_contacts_call_list   (MmGdbusModemContacts *proxy,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);
gboolean            mm_gdbus_modem_contacts_call_list_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_results,
                                                         GAsyncResult *res,
                                                         GError **error);
gboolean            mm_gdbus_modem_contacts_call_list_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_results,
                                                         GCancellable *cancellable,
                                                         GError **error);

Object Hierarchy

  GInterface
   +----MmGdbusModemContacts

Prerequisites

MmGdbusModemContacts requires GObject.

Known Implementations

MmGdbusModemContacts is implemented by MmGdbusModemContactsProxy and MmGdbusModemContactsSkeleton.

Description

This section contains code for working with the org.freedesktop.ModemManager1.Modem.Contacts D-Bus interface in C.

Details

MmGdbusModemContacts

typedef struct _MmGdbusModemContacts MmGdbusModemContacts;

Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Contacts.


struct MmGdbusModemContactsIface

struct MmGdbusModemContactsIface {
  GTypeInterface parent_iface;


  gboolean (*handle_add) (
    MmGdbusModemContacts *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_properties);

  gboolean (*handle_delete) (
    MmGdbusModemContacts *object,
    GDBusMethodInvocation *invocation,
    guint arg_index);

  gboolean (*handle_find) (
    MmGdbusModemContacts *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_pattern);

  gboolean (*handle_get) (
    MmGdbusModemContacts *object,
    GDBusMethodInvocation *invocation,
    guint arg_index);

  gboolean (*handle_get_count) (
    MmGdbusModemContacts *object,
    GDBusMethodInvocation *invocation);

  gboolean (*handle_list) (
    MmGdbusModemContacts *object,
    GDBusMethodInvocation *invocation);

  void (*added) (
    MmGdbusModemContacts *object,
    guint arg_index,
    GVariant *arg_properties);

  void (*deleted) (
    MmGdbusModemContacts *object,
    guint arg_index);
};

Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.Contacts.

GTypeInterface parent_iface;

The parent interface.

handle_add ()

Handler for the "handle-add" signal.

handle_delete ()

Handler for the "handle-delete" signal.

handle_find ()

Handler for the "handle-find" signal.

handle_get ()

Handler for the "handle-get" signal.

handle_get_count ()

Handler for the "handle-get-count" signal.

handle_list ()

Handler for the "handle-list" signal.

added ()

Handler for the "added" signal.

deleted ()

Handler for the "deleted" signal.

mm_gdbus_modem_contacts_call_add ()

void                mm_gdbus_modem_contacts_call_add    (MmGdbusModemContacts *proxy,
                                                         GVariant *arg_properties,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously invokes the Add() D-Bus method on 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. You can then call mm_gdbus_modem_contacts_call_add_finish() to get the result of the operation.

See mm_gdbus_modem_contacts_call_add_sync() for the synchronous, blocking version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_properties :

Argument to pass with the method invocation.

cancellable :

A GCancellable or NULL. [allow-none]

callback :

A GAsyncReadyCallback to call when the request is satisfied or NULL.

user_data :

User data to pass to callback.

mm_gdbus_modem_contacts_call_add_finish ()

gboolean            mm_gdbus_modem_contacts_call_add_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         guint *out_index,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an operation started with mm_gdbus_modem_contacts_call_add().

proxy :

A MmGdbusModemContactsProxy.

out_index :

Return location for return parameter or NULL to ignore. [out]

res :

The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_contacts_call_add().

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_add_sync ()

gboolean            mm_gdbus_modem_contacts_call_add_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant *arg_properties,
                                                         guint *out_index,
                                                         GCancellable *cancellable,
                                                         GError **error);

Synchronously invokes the Add() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See mm_gdbus_modem_contacts_call_add() for the asynchronous version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_properties :

Argument to pass with the method invocation.

out_index :

Return location for return parameter or NULL to ignore. [out]

cancellable :

A GCancellable or NULL. [allow-none]

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_delete ()

void                mm_gdbus_modem_contacts_call_delete (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously invokes the Delete() D-Bus method on 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. You can then call mm_gdbus_modem_contacts_call_delete_finish() to get the result of the operation.

See mm_gdbus_modem_contacts_call_delete_sync() for the synchronous, blocking version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_index :

Argument to pass with the method invocation.

cancellable :

A GCancellable or NULL. [allow-none]

callback :

A GAsyncReadyCallback to call when the request is satisfied or NULL.

user_data :

User data to pass to callback.

mm_gdbus_modem_contacts_call_delete_finish ()

gboolean            mm_gdbus_modem_contacts_call_delete_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an operation started with mm_gdbus_modem_contacts_call_delete().

proxy :

A MmGdbusModemContactsProxy.

res :

The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_contacts_call_delete().

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_delete_sync ()

gboolean            mm_gdbus_modem_contacts_call_delete_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GCancellable *cancellable,
                                                         GError **error);

Synchronously invokes the Delete() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See mm_gdbus_modem_contacts_call_delete() for the asynchronous version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_index :

Argument to pass with the method invocation.

cancellable :

A GCancellable or NULL. [allow-none]

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_find ()

void                mm_gdbus_modem_contacts_call_find   (MmGdbusModemContacts *proxy,
                                                         const gchar *arg_pattern,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously invokes the Find() D-Bus method on 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. You can then call mm_gdbus_modem_contacts_call_find_finish() to get the result of the operation.

See mm_gdbus_modem_contacts_call_find_sync() for the synchronous, blocking version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_pattern :

Argument to pass with the method invocation.

cancellable :

A GCancellable or NULL. [allow-none]

callback :

A GAsyncReadyCallback to call when the request is satisfied or NULL.

user_data :

User data to pass to callback.

mm_gdbus_modem_contacts_call_find_finish ()

gboolean            mm_gdbus_modem_contacts_call_find_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_results,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an operation started with mm_gdbus_modem_contacts_call_find().

proxy :

A MmGdbusModemContactsProxy.

out_results :

Return location for return parameter or NULL to ignore. [out]

res :

The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_contacts_call_find().

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_find_sync ()

gboolean            mm_gdbus_modem_contacts_call_find_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         const gchar *arg_pattern,
                                                         GVariant **out_results,
                                                         GCancellable *cancellable,
                                                         GError **error);

Synchronously invokes the Find() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See mm_gdbus_modem_contacts_call_find() for the asynchronous version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_pattern :

Argument to pass with the method invocation.

out_results :

Return location for return parameter or NULL to ignore. [out]

cancellable :

A GCancellable or NULL. [allow-none]

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_get ()

void                mm_gdbus_modem_contacts_call_get    (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously invokes the Get() D-Bus method on 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. You can then call mm_gdbus_modem_contacts_call_get_finish() to get the result of the operation.

See mm_gdbus_modem_contacts_call_get_sync() for the synchronous, blocking version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_index :

Argument to pass with the method invocation.

cancellable :

A GCancellable or NULL. [allow-none]

callback :

A GAsyncReadyCallback to call when the request is satisfied or NULL.

user_data :

User data to pass to callback.

mm_gdbus_modem_contacts_call_get_finish ()

gboolean            mm_gdbus_modem_contacts_call_get_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_properties,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an operation started with mm_gdbus_modem_contacts_call_get().

proxy :

A MmGdbusModemContactsProxy.

out_properties :

Return location for return parameter or NULL to ignore. [out]

res :

The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_contacts_call_get().

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_get_sync ()

gboolean            mm_gdbus_modem_contacts_call_get_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         guint arg_index,
                                                         GVariant **out_properties,
                                                         GCancellable *cancellable,
                                                         GError **error);

Synchronously invokes the Get() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See mm_gdbus_modem_contacts_call_get() for the asynchronous version of this method.

proxy :

A MmGdbusModemContactsProxy.

arg_index :

Argument to pass with the method invocation.

out_properties :

Return location for return parameter or NULL to ignore. [out]

cancellable :

A GCancellable or NULL. [allow-none]

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_get_count ()

void                mm_gdbus_modem_contacts_call_get_count
                                                        (MmGdbusModemContacts *proxy,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously invokes the GetCount() D-Bus method on 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. You can then call mm_gdbus_modem_contacts_call_get_count_finish() to get the result of the operation.

See mm_gdbus_modem_contacts_call_get_count_sync() for the synchronous, blocking version of this method.

proxy :

A MmGdbusModemContactsProxy.

cancellable :

A GCancellable or NULL. [allow-none]

callback :

A GAsyncReadyCallback to call when the request is satisfied or NULL.

user_data :

User data to pass to callback.

mm_gdbus_modem_contacts_call_get_count_finish ()

gboolean            mm_gdbus_modem_contacts_call_get_count_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         guint *out_count,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an operation started with mm_gdbus_modem_contacts_call_get_count().

proxy :

A MmGdbusModemContactsProxy.

out_count :

Return location for return parameter or NULL to ignore. [out]

res :

The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_contacts_call_get_count().

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_get_count_sync ()

gboolean            mm_gdbus_modem_contacts_call_get_count_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         guint *out_count,
                                                         GCancellable *cancellable,
                                                         GError **error);

Synchronously invokes the GetCount() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See mm_gdbus_modem_contacts_call_get_count() for the asynchronous version of this method.

proxy :

A MmGdbusModemContactsProxy.

out_count :

Return location for return parameter or NULL to ignore. [out]

cancellable :

A GCancellable or NULL. [allow-none]

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_list ()

void                mm_gdbus_modem_contacts_call_list   (MmGdbusModemContacts *proxy,
                                                         GCancellable *cancellable,
                                                         GAsyncReadyCallback callback,
                                                         gpointer user_data);

Asynchronously invokes the List() D-Bus method on 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. You can then call mm_gdbus_modem_contacts_call_list_finish() to get the result of the operation.

See mm_gdbus_modem_contacts_call_list_sync() for the synchronous, blocking version of this method.

proxy :

A MmGdbusModemContactsProxy.

cancellable :

A GCancellable or NULL. [allow-none]

callback :

A GAsyncReadyCallback to call when the request is satisfied or NULL.

user_data :

User data to pass to callback.

mm_gdbus_modem_contacts_call_list_finish ()

gboolean            mm_gdbus_modem_contacts_call_list_finish
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_results,
                                                         GAsyncResult *res,
                                                         GError **error);

Finishes an operation started with mm_gdbus_modem_contacts_call_list().

proxy :

A MmGdbusModemContactsProxy.

out_results :

Return location for return parameter or NULL to ignore. [out]

res :

The GAsyncResult obtained from the GAsyncReadyCallback passed to mm_gdbus_modem_contacts_call_list().

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

mm_gdbus_modem_contacts_call_list_sync ()

gboolean            mm_gdbus_modem_contacts_call_list_sync
                                                        (MmGdbusModemContacts *proxy,
                                                         GVariant **out_results,
                                                         GCancellable *cancellable,
                                                         GError **error);

Synchronously invokes the List() D-Bus method on proxy. The calling thread is blocked until a reply is received.

See mm_gdbus_modem_contacts_call_list() for the asynchronous version of this method.

proxy :

A MmGdbusModemContactsProxy.

out_results :

Return location for return parameter or NULL to ignore. [out]

cancellable :

A GCancellable or NULL. [allow-none]

error :

Return location for error or NULL.

Returns :

TRUE if the call succeded, FALSE if error is set. [skip]

Signal Details

The "added" signal

void                user_function                      (MmGdbusModemContacts *object,
                                                        guint                 arg_index,
                                                        GVariant             *arg_properties,
                                                        gpointer              user_data)           : Run Last

On the client-side, this signal is emitted whenever the D-Bus signal "Added" 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.

object :

A MmGdbusModemContacts.

arg_index :

Argument.

arg_properties :

Argument.

user_data :

user data set when the signal handler was connected.

The "deleted" signal

void                user_function                      (MmGdbusModemContacts *object,
                                                        guint                 arg_index,
                                                        gpointer              user_data)      : Run Last

On the client-side, this signal is emitted whenever the D-Bus signal "Deleted" 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.

object :

A MmGdbusModemContacts.

arg_index :

Argument.

user_data :

user data set when the signal handler was connected.

The "handle-add" signal

gboolean            user_function                      (MmGdbusModemContacts  *object,
                                                        GDBusMethodInvocation *invocation,
                                                        GVariant              *arg_properties,
                                                        gpointer               user_data)           : Run Last

Signal emitted when a remote caller is invoking the Add() 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 mm_gdbus_modem_contacts_complete_add() 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 :

A MmGdbusModemContacts.

invocation :

A GDBusMethodInvocation.

arg_properties :

Argument passed by remote caller.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the invocation was handled, FALSE to let other signal handlers run.

The "handle-delete" signal

gboolean            user_function                      (MmGdbusModemContacts  *object,
                                                        GDBusMethodInvocation *invocation,
                                                        guint                  arg_index,
                                                        gpointer               user_data)       : Run Last

Signal emitted when a remote caller is invoking the Delete() 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 mm_gdbus_modem_contacts_complete_delete() 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 :

A MmGdbusModemContacts.

invocation :

A GDBusMethodInvocation.

arg_index :

Argument passed by remote caller.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the invocation was handled, FALSE to let other signal handlers run.

The "handle-find" signal

gboolean            user_function                      (MmGdbusModemContacts  *object,
                                                        GDBusMethodInvocation *invocation,
                                                        gchar                 *arg_pattern,
                                                        gpointer               user_data)        : Run Last

Signal emitted when a remote caller is invoking the Find() 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 mm_gdbus_modem_contacts_complete_find() 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 :

A MmGdbusModemContacts.

invocation :

A GDBusMethodInvocation.

arg_pattern :

Argument passed by remote caller.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the invocation was handled, FALSE to let other signal handlers run.

The "handle-get" signal

gboolean            user_function                      (MmGdbusModemContacts  *object,
                                                        GDBusMethodInvocation *invocation,
                                                        guint                  arg_index,
                                                        gpointer               user_data)       : Run Last

Signal emitted when a remote caller is invoking the Get() 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 mm_gdbus_modem_contacts_complete_get() 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 :

A MmGdbusModemContacts.

invocation :

A GDBusMethodInvocation.

arg_index :

Argument passed by remote caller.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the invocation was handled, FALSE to let other signal handlers run.

The "handle-get-count" signal

gboolean            user_function                      (MmGdbusModemContacts  *object,
                                                        GDBusMethodInvocation *invocation,
                                                        gpointer               user_data)       : Run Last

Signal emitted when a remote caller is invoking the GetCount() 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 mm_gdbus_modem_contacts_complete_get_count() 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 :

A MmGdbusModemContacts.

invocation :

A GDBusMethodInvocation.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the invocation was handled, FALSE to let other signal handlers run.

The "handle-list" signal

gboolean            user_function                      (MmGdbusModemContacts  *object,
                                                        GDBusMethodInvocation *invocation,
                                                        gpointer               user_data)       : Run Last

Signal emitted when a remote caller is invoking the List() 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 mm_gdbus_modem_contacts_complete_list() 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 :

A MmGdbusModemContacts.

invocation :

A GDBusMethodInvocation.

user_data :

user data set when the signal handler was connected.

Returns :

TRUE if the invocation was handled, FALSE to let other signal handlers run.