Top |
gboolean | active | Read / Write |
char * | eid | Read / Write |
GStrv | emergency-numbers | Read / Write |
guint | esim-status | Read / Write |
GVariant * | gid1 | Read / Write |
GVariant * | gid2 | Read / Write |
char * | imsi | Read / Write |
char * | operator-identifier | Read / Write |
char * | operator-name | Read / Write |
GVariant * | preferred-networks | Read / Write |
guint | removability | Read / Write |
char * | sim-identifier | Read / Write |
guint | sim-type | Read / Write |
This section contains code for working with the org.freedesktop.ModemManager1.Sim D-Bus interface in C.
gboolean
mm_gdbus_sim_get_active (MmGdbusSim *object
);
Gets the value of the "Active" 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]
const gchar *
mm_gdbus_sim_get_imsi (MmGdbusSim *object
);
Gets the value of the "Imsi" 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_sim_dup_imsi()
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_sim_dup_imsi (MmGdbusSim *object
);
Gets a copy of the "Imsi" 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]
const gchar *
mm_gdbus_sim_get_eid (MmGdbusSim *object
);
Gets the value of the "Eid" 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_sim_dup_eid()
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_sim_dup_eid (MmGdbusSim *object
);
Gets a copy of the "Eid" 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]
const gchar *
mm_gdbus_sim_get_sim_identifier (MmGdbusSim *object
);
Gets the value of the "SimIdentifier" 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_sim_dup_sim_identifier()
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_sim_dup_sim_identifier (MmGdbusSim *object
);
Gets a copy of the "SimIdentifier" 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]
const gchar *
mm_gdbus_sim_get_operator_identifier (MmGdbusSim *object
);
Gets the value of the "OperatorIdentifier" 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_sim_dup_operator_identifier()
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_sim_dup_operator_identifier (MmGdbusSim *object
);
Gets a copy of the "OperatorIdentifier" 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]
const gchar *
mm_gdbus_sim_get_operator_name (MmGdbusSim *object
);
Gets the value of the "OperatorName" 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_sim_dup_operator_name()
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_sim_dup_operator_name (MmGdbusSim *object
);
Gets a copy of the "OperatorName" 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]
const gchar *const *
mm_gdbus_sim_get_emergency_numbers (MmGdbusSim *object
);
Gets the value of the "EmergencyNumbers" 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_sim_dup_emergency_numbers()
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_sim_dup_emergency_numbers (MmGdbusSim *object
);
Gets a copy of the "EmergencyNumbers" 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]
GVariant *
mm_gdbus_sim_dup_preferred_networks (MmGdbusSim *object
);
Gets a copy of the "PreferredNetworks" 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_sim_get_preferred_networks (MmGdbusSim *object
);
Gets the value of the "PreferredNetworks" 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_sim_dup_preferred_networks()
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]
GVariant *
mm_gdbus_sim_dup_gid1 (MmGdbusSim *object
);
Gets a copy of the "Gid1" 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_sim_get_gid1 (MmGdbusSim *object
);
Gets the value of the "Gid1" 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_sim_dup_gid1()
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]
GVariant *
mm_gdbus_sim_dup_gid2 (MmGdbusSim *object
);
Gets a copy of the "Gid2" 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_sim_get_gid2 (MmGdbusSim *object
);
Gets the value of the "Gid2" 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_sim_dup_gid2()
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]
guint
mm_gdbus_sim_get_sim_type (MmGdbusSim *object
);
Gets the value of the "SimType" 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]
guint
mm_gdbus_sim_get_esim_status (MmGdbusSim *object
);
Gets the value of the "EsimStatus" 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]
guint
mm_gdbus_sim_get_removability (MmGdbusSim *object
);
Gets the value of the "Removability" 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_sim_call_send_pin (MmGdbusSim *proxy
,const gchar *arg_pin
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SendPin()
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_sim_call_send_pin_finish()
to get the result of the operation.
See mm_gdbus_sim_call_send_pin_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_pin |
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_sim_call_send_pin_finish (MmGdbusSim *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_sim_call_send_pin()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_sim_call_send_pin_sync (MmGdbusSim *proxy
,const gchar *arg_pin
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SendPin()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_sim_call_send_pin()
for the asynchronous version of this method.
proxy |
||
arg_pin |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_sim_call_send_puk (MmGdbusSim *proxy
,const gchar *arg_puk
,const gchar *arg_pin
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SendPuk()
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_sim_call_send_puk_finish()
to get the result of the operation.
See mm_gdbus_sim_call_send_puk_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_puk |
Argument to pass with the method invocation. |
|
arg_pin |
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_sim_call_send_puk_finish (MmGdbusSim *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_sim_call_send_puk()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_sim_call_send_puk_sync (MmGdbusSim *proxy
,const gchar *arg_puk
,const gchar *arg_pin
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SendPuk()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_sim_call_send_puk()
for the asynchronous version of this method.
proxy |
||
arg_puk |
Argument to pass with the method invocation. |
|
arg_pin |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_sim_call_enable_pin (MmGdbusSim *proxy
,const gchar *arg_pin
,gboolean arg_enabled
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the EnablePin()
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_sim_call_enable_pin_finish()
to get the result of the operation.
See mm_gdbus_sim_call_enable_pin_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_pin |
Argument to pass with the method invocation. |
|
arg_enabled |
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_sim_call_enable_pin_finish (MmGdbusSim *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_sim_call_enable_pin()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_sim_call_enable_pin_sync (MmGdbusSim *proxy
,const gchar *arg_pin
,gboolean arg_enabled
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the EnablePin()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_sim_call_enable_pin()
for the asynchronous version of this method.
proxy |
||
arg_pin |
Argument to pass with the method invocation. |
|
arg_enabled |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_sim_call_change_pin (MmGdbusSim *proxy
,const gchar *arg_old_pin
,const gchar *arg_new_pin
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ChangePin()
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_sim_call_change_pin_finish()
to get the result of the operation.
See mm_gdbus_sim_call_change_pin_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_old_pin |
Argument to pass with the method invocation. |
|
arg_new_pin |
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_sim_call_change_pin_finish (MmGdbusSim *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_sim_call_change_pin()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_sim_call_change_pin_sync (MmGdbusSim *proxy
,const gchar *arg_old_pin
,const gchar *arg_new_pin
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ChangePin()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_sim_call_change_pin()
for the asynchronous version of this method.
proxy |
||
arg_old_pin |
Argument to pass with the method invocation. |
|
arg_new_pin |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void mm_gdbus_sim_call_set_preferred_networks (MmGdbusSim *proxy
,GVariant *arg_preferred_networks
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the SetPreferredNetworks()
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_sim_call_set_preferred_networks_finish()
to get the result of the operation.
See mm_gdbus_sim_call_set_preferred_networks_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_preferred_networks |
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_sim_call_set_preferred_networks_finish (MmGdbusSim *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with mm_gdbus_sim_call_set_preferred_networks()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean mm_gdbus_sim_call_set_preferred_networks_sync (MmGdbusSim *proxy
,GVariant *arg_preferred_networks
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SetPreferredNetworks()
proxy
. The calling thread is blocked until a reply is received.
See mm_gdbus_sim_call_set_preferred_networks()
for the asynchronous version of this method.
proxy |
||
arg_preferred_networks |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
typedef struct _MmGdbusSim MmGdbusSim;
Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Sim.
struct MmGdbusSimIface { GTypeInterface parent_iface; gboolean (*handle_change_pin) ( MmGdbusSim *object, GDBusMethodInvocation *invocation, const gchar *arg_old_pin, const gchar *arg_new_pin); gboolean (*handle_enable_pin) ( MmGdbusSim *object, GDBusMethodInvocation *invocation, const gchar *arg_pin, gboolean arg_enabled); gboolean (*handle_send_pin) ( MmGdbusSim *object, GDBusMethodInvocation *invocation, const gchar *arg_pin); gboolean (*handle_send_puk) ( MmGdbusSim *object, GDBusMethodInvocation *invocation, const gchar *arg_puk, const gchar *arg_pin); gboolean (*handle_set_preferred_networks) ( MmGdbusSim *object, GDBusMethodInvocation *invocation, GVariant *arg_preferred_networks); gboolean (*get_active) (MmGdbusSim *object); const gchar * (*get_eid) (MmGdbusSim *object); const gchar *const * (*get_emergency_numbers) (MmGdbusSim *object); guint (*get_esim_status) (MmGdbusSim *object); GVariant * (*get_gid1) (MmGdbusSim *object); GVariant * (*get_gid2) (MmGdbusSim *object); const gchar * (*get_imsi) (MmGdbusSim *object); const gchar * (*get_operator_identifier) (MmGdbusSim *object); const gchar * (*get_operator_name) (MmGdbusSim *object); GVariant * (*get_preferred_networks) (MmGdbusSim *object); guint (*get_removability) (MmGdbusSim *object); const gchar * (*get_sim_identifier) (MmGdbusSim *object); guint (*get_sim_type) (MmGdbusSim *object); };
Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Sim.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-change-pin” signal. |
||
Handler for the “handle-enable-pin” signal. |
||
Handler for the “handle-send-pin” signal. |
||
Handler for the “handle-send-puk” signal. |
||
Handler for the “handle-set-preferred-networks” signal. |
||
Getter for the “active” property. |
||
Getter for the “eid” property. |
||
Getter for the “emergency-numbers” property. |
||
Getter for the “esim-status” property. |
||
Getter for the “gid1” property. |
||
Getter for the “gid2” property. |
||
Getter for the “imsi” property. |
||
Getter for the “operator-identifier” property. |
||
Getter for the “operator-name” property. |
||
Getter for the “preferred-networks” property. |
||
Getter for the “removability” property. |
||
Getter for the “sim-identifier” property. |
||
Getter for the “sim-type” property. |
“active”
property“active” gboolean
Represents the D-Bus property "Active".
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: MmGdbusSim
Flags: Read / Write
Default value: FALSE
“eid”
property “eid” char *
Represents the D-Bus property "Eid".
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: MmGdbusSim
Flags: Read / Write
Default value: NULL
“emergency-numbers”
property“emergency-numbers” GStrv
Represents the D-Bus property "EmergencyNumbers".
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: MmGdbusSim
Flags: Read / Write
“esim-status”
property“esim-status” guint
Represents the D-Bus property "EsimStatus".
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: MmGdbusSim
Flags: Read / Write
Default value: 0
“gid1”
property“gid1” GVariant *
Represents the D-Bus property "Gid1".
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: MmGdbusSim
Flags: Read / Write
Allowed values: GVariant<ay>
Default value: NULL
“gid2”
property“gid2” GVariant *
Represents the D-Bus property "Gid2".
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: MmGdbusSim
Flags: Read / Write
Allowed values: GVariant<ay>
Default value: NULL
“imsi”
property “imsi” char *
Represents the D-Bus property "Imsi".
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: MmGdbusSim
Flags: Read / Write
Default value: NULL
“operator-identifier”
property “operator-identifier” char *
Represents the D-Bus property "OperatorIdentifier".
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: MmGdbusSim
Flags: Read / Write
Default value: NULL
“operator-name”
property “operator-name” char *
Represents the D-Bus property "OperatorName".
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: MmGdbusSim
Flags: Read / Write
Default value: NULL
“preferred-networks”
property“preferred-networks” GVariant *
Represents the D-Bus property "PreferredNetworks".
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: MmGdbusSim
Flags: Read / Write
Allowed values: GVariant<a(su)>
Default value: NULL
“removability”
property“removability” guint
Represents the D-Bus property "Removability".
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: MmGdbusSim
Flags: Read / Write
Default value: 0
“sim-identifier”
property “sim-identifier” char *
Represents the D-Bus property "SimIdentifier".
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: MmGdbusSim
Flags: Read / Write
Default value: NULL
“sim-type”
property“sim-type” guint
Represents the D-Bus property "SimType".
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: MmGdbusSim
Flags: Read / Write
Default value: 0
“handle-change-pin”
signalgboolean user_function (MmGdbusSim *object, GDBusMethodInvocation *invocation, char *arg_old_pin, char *arg_new_pin, gpointer user_data)
Signal emitted when a remote caller is invoking the ChangePin()
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_sim_complete_change_pin()
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 G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A MmGdbusSim. |
|
invocation |
||
arg_old_pin |
Argument passed by remote caller. |
|
arg_new_pin |
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-enable-pin”
signalgboolean user_function (MmGdbusSim *object, GDBusMethodInvocation *invocation, char *arg_pin, gboolean arg_enabled, gpointer user_data)
Signal emitted when a remote caller is invoking the EnablePin()
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_sim_complete_enable_pin()
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 G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A MmGdbusSim. |
|
invocation |
||
arg_pin |
Argument passed by remote caller. |
|
arg_enabled |
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-send-pin”
signalgboolean user_function (MmGdbusSim *object, GDBusMethodInvocation *invocation, char *arg_pin, gpointer user_data)
Signal emitted when a remote caller is invoking the SendPin()
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_sim_complete_send_pin()
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 G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A MmGdbusSim. |
|
invocation |
||
arg_pin |
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-send-puk”
signalgboolean user_function (MmGdbusSim *object, GDBusMethodInvocation *invocation, char *arg_puk, char *arg_pin, gpointer user_data)
Signal emitted when a remote caller is invoking the SendPuk()
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_sim_complete_send_puk()
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 G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A MmGdbusSim. |
|
invocation |
||
arg_puk |
Argument passed by remote caller. |
|
arg_pin |
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-set-preferred-networks”
signalgboolean user_function (MmGdbusSim *object, GDBusMethodInvocation *invocation, GVariant *arg_preferred_networks, gpointer user_data)
Signal emitted when a remote caller is invoking the SetPreferredNetworks()
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_sim_complete_set_preferred_networks()
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 G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
A MmGdbusSim. |
|
invocation |
||
arg_preferred_networks |
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