libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageNasGetHomeNetworkOutput; QmiMessageNasGetHomeNetworkOutput * qmi_message_nas_get_home_network_output_ref (QmiMessageNasGetHomeNetworkOutput *self
); void qmi_message_nas_get_home_network_output_unref (QmiMessageNasGetHomeNetworkOutput *self
); gboolean qmi_message_nas_get_home_network_output_get_result (QmiMessageNasGetHomeNetworkOutput *self
,GError **error
); gboolean qmi_message_nas_get_home_network_output_get_home_network_3gpp2 (QmiMessageNasGetHomeNetworkOutput *self
,guint16 *home_network_3gpp2_mcc
,guint16 *home_network_3gpp2_mnc
,QmiNasNetworkDescriptionDisplay *home_network_3gpp2_display_description
,QmiNasNetworkDescriptionEncoding *home_network_3gpp2_description_encoding
,const gchar **home_network_3gpp2_description
,GError **error
); gboolean qmi_message_nas_get_home_network_output_get_home_system_id (QmiMessageNasGetHomeNetworkOutput *self
,guint16 *home_system_id_sid
,guint16 *home_system_id_nid
,GError **error
); gboolean qmi_message_nas_get_home_network_output_get_home_network (QmiMessageNasGetHomeNetworkOutput *self
,guint16 *home_network_mcc
,guint16 *home_network_mnc
,const gchar **home_network_description
,GError **error
); void qmi_client_nas_get_home_network (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageNasGetHomeNetworkOutput * qmi_client_nas_get_home_network_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
typedef struct _QmiMessageNasGetHomeNetworkOutput QmiMessageNasGetHomeNetworkOutput;
The QmiMessageNasGetHomeNetworkOutput structure contains private data and should only be accessed using the provided API.
QmiMessageNasGetHomeNetworkOutput * qmi_message_nas_get_home_network_output_ref
(QmiMessageNasGetHomeNetworkOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageNasGetHomeNetworkOutput. |
Returns : |
the new reference to self . |
void qmi_message_nas_get_home_network_output_unref
(QmiMessageNasGetHomeNetworkOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageNasGetHomeNetworkOutput. |
gboolean qmi_message_nas_get_home_network_output_get_result (QmiMessageNasGetHomeNetworkOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_nas_get_home_network_output_get_home_network_3gpp2 (QmiMessageNasGetHomeNetworkOutput *self
,guint16 *home_network_3gpp2_mcc
,guint16 *home_network_3gpp2_mnc
,QmiNasNetworkDescriptionDisplay *home_network_3gpp2_display_description
,QmiNasNetworkDescriptionEncoding *home_network_3gpp2_description_encoding
,const gchar **home_network_3gpp2_description
,GError **error
);
Get the 'Home Network 3GPP2' field from self
.
|
a QmiMessageNasGetHomeNetworkOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output QmiNasNetworkDescriptionDisplay, or NULL if not required. |
|
a placeholder for the output QmiNasNetworkDescriptionEncoding, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_home_network_output_get_home_system_id (QmiMessageNasGetHomeNetworkOutput *self
,guint16 *home_system_id_sid
,guint16 *home_system_id_nid
,GError **error
);
Get the 'Home System ID' field from self
.
|
a QmiMessageNasGetHomeNetworkOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_nas_get_home_network_output_get_home_network (QmiMessageNasGetHomeNetworkOutput *self
,guint16 *home_network_mcc
,guint16 *home_network_mnc
,const gchar **home_network_description
,GError **error
);
Get the 'Home Network' field from self
.
|
a QmiMessageNasGetHomeNetworkOutput. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_nas_get_home_network (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Home Network request to the device.
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 qmi_client_nas_get_home_network_finish()
to get the result of the operation.
|
a QmiClientNas. |
|
NULL . This message doesn't have any input bundle. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
QmiMessageNasGetHomeNetworkOutput * qmi_client_nas_get_home_network_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_home_network()
.
|
a QmiClientNas. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_nas_get_home_network() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageNasGetHomeNetworkOutput, or NULL if error is set. The returned value should be freed with qmi_message_nas_get_home_network_output_unref() . |