| Top |  |  |  |  | 
| MmGdbusModemFirmwareMmGdbusModemFirmware — Generated C code for the org.freedesktop.ModemManager1.Modem.Firmware D-Bus interface | 
MmGdbusModemFirmware is implemented by MMModemFirmware, MmGdbusModemFirmwareProxy and MmGdbusModemFirmwareSkeleton.
This section contains code for working with the org.freedesktop.ModemManager1.Modem.Firmware D-Bus interface in C.
GVariant *
mm_gdbus_modem_firmware_dup_update_settings
                               (MmGdbusModemFirmware *object);
Gets a copy of the "UpdateSettings" 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_variant_unref(). 
[transfer full][nullable]
GVariant *
mm_gdbus_modem_firmware_get_update_settings
                               (MmGdbusModemFirmware *object);
Gets the value of the "UpdateSettings" 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_firmware_dup_update_settings() 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]
void mm_gdbus_modem_firmware_call_list (MmGdbusModemFirmware *proxy,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the List()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_firmware_call_list_finish() to get the result of the operation.
See mm_gdbus_modem_firmware_call_list_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_firmware_call_list_finish (MmGdbusModemFirmware *proxy,gchar **out_selected,GVariant **out_installed,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem_firmware_call_list().
| proxy | ||
| out_selected | Return location for return parameter or  | [out][optional] | 
| out_installed | 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_firmware_call_list_sync (MmGdbusModemFirmware *proxy,gchar **out_selected,GVariant **out_installed,GCancellable *cancellable,GError **error);
Synchronously invokes the List()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_firmware_call_list() for the asynchronous version of this method.
| proxy | ||
| out_selected | Return location for return parameter or  | [out][optional] | 
| out_installed | Return location for return parameter or  | [out][optional] | 
| cancellable | A GCancellable or  | [nullable] | 
| error | Return location for error or  | 
void mm_gdbus_modem_firmware_call_select (MmGdbusModemFirmware *proxy,const gchar *arg_uniqueid,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Select()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_firmware_call_select_finish() to get the result of the operation.
See mm_gdbus_modem_firmware_call_select_sync() for the synchronous, blocking version of this method.
| proxy | ||
| arg_uniqueid | 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_firmware_call_select_finish (MmGdbusModemFirmware *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with mm_gdbus_modem_firmware_call_select().
| proxy | ||
| res | The GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
gboolean mm_gdbus_modem_firmware_call_select_sync (MmGdbusModemFirmware *proxy,const gchar *arg_uniqueid,GCancellable *cancellable,GError **error);
Synchronously invokes the Select()proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_modem_firmware_call_select() for the asynchronous version of this method.
| proxy | ||
| arg_uniqueid | Argument to pass with the method invocation. | |
| cancellable | A GCancellable or  | [nullable] | 
| error | Return location for error or  | 
typedef struct _MmGdbusModemFirmware MmGdbusModemFirmware;
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.Firmware.
struct MmGdbusModemFirmwareIface {
  GTypeInterface parent_iface;
  gboolean (*handle_list) (
    MmGdbusModemFirmware *object,
    GDBusMethodInvocation *invocation);
  gboolean (*handle_select) (
    MmGdbusModemFirmware *object,
    GDBusMethodInvocation *invocation,
    const gchar *arg_uniqueid);
  GVariant * (*get_update_settings) (MmGdbusModemFirmware *object);
};
Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.Firmware.
| GTypeInterface  | The parent interface. | |
| Handler for the “handle-list” signal. | ||
| Handler for the “handle-select” signal. | ||
| Getter for the “update-settings” property. | 
“update-settings” property“update-settings” GVariant *
Represents the D-Bus property "UpdateSettings".
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: MmGdbusModemFirmware
Flags: Read / Write
Allowed values: GVariant<(ua{sv})>
Default value: NULL
“handle-list” signalgboolean user_function (MmGdbusModemFirmware *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the List()
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_firmware_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.
Flags: Run Last
“handle-select” signalgboolean user_function (MmGdbusModemFirmware *object, GDBusMethodInvocation *invocation, char *arg_uniqueid, gpointer user_data)
Signal emitted when a remote caller is invoking the Select()
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_firmware_complete_select() 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_uniqueid | Argument passed by remote caller. | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last