Top |
QmiMessageNasGetOperatorNameOutput *
qmi_message_nas_get_operator_name_output_ref
(QmiMessageNasGetOperatorNameOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.18
void
qmi_message_nas_get_operator_name_output_unref
(QmiMessageNasGetOperatorNameOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.18
gboolean qmi_message_nas_get_operator_name_output_get_result (QmiMessageNasGetOperatorNameOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.18
gboolean qmi_message_nas_get_operator_name_output_get_service_provider_name (QmiMessageNasGetOperatorNameOutput *self
,QmiNasNetworkNameDisplayCondition *value_service_provider_name_name_display_condition
,const gchar **value_service_provider_name_name
,GError **error
);
Get the 'Service Provider Name' field from self
.
self |
||
value_service_provider_name_name_display_condition |
a placeholder for the output QmiNasNetworkNameDisplayCondition, or |
[out] |
value_service_provider_name_name |
a placeholder for the output constant string, or |
[out] |
error |
Return location for error or |
Since: 1.18
gboolean qmi_message_nas_get_operator_name_output_get_operator_plmn_list (QmiMessageNasGetOperatorNameOutput *self
,GArray **value_operator_plmn_list
,GError **error
);
Get the 'Operator PLMN List' field from self
.
self |
||
value_operator_plmn_list |
a placeholder for the output GArray of QmiMessageNasGetOperatorNameOutputOperatorPlmnListElement elements, or |
[out][element-type QmiMessageNasGetOperatorNameOutputOperatorPlmnListElement][transfer none] |
error |
Return location for error or |
Since: 1.18
gboolean qmi_message_nas_get_operator_name_output_get_operator_plmn_name (QmiMessageNasGetOperatorNameOutput *self
,GArray **value_operator_plmn_name
,GError **error
);
Get the 'Operator PLMN Name' field from self
.
self |
||
value_operator_plmn_name |
a placeholder for the output GArray of QmiMessageNasGetOperatorNameOutputOperatorPlmnNameElement elements, or |
[out][element-type QmiMessageNasGetOperatorNameOutputOperatorPlmnNameElement][transfer none] |
error |
Return location for error or |
Since: 1.18
gboolean qmi_message_nas_get_operator_name_output_get_operator_string_name (QmiMessageNasGetOperatorNameOutput *self
,const gchar **value_operator_string_name
,GError **error
);
Get the 'Operator String Name' field from self
.
Since: 1.18
gboolean qmi_message_nas_get_operator_name_output_get_nitz_information (QmiMessageNasGetOperatorNameOutput *self
,QmiNasPlmnEncodingScheme *value_nitz_information_name_encoding
,QmiNasPlmnNameCountryInitials *value_nitz_information_short_country_initials
,QmiNasPlmnNameSpareBits *value_nitz_information_long_name_spare_bits
,QmiNasPlmnNameSpareBits *value_nitz_information_short_name_spare_bits
,GArray **value_nitz_information_long_name
,GArray **value_nitz_information_short_name
,GError **error
);
Get the 'NITZ Information' field from self
.
self |
||
value_nitz_information_name_encoding |
a placeholder for the output QmiNasPlmnEncodingScheme, or |
[out] |
value_nitz_information_short_country_initials |
a placeholder for the output QmiNasPlmnNameCountryInitials, or |
[out] |
value_nitz_information_long_name_spare_bits |
a placeholder for the output QmiNasPlmnNameSpareBits, or |
[out] |
value_nitz_information_short_name_spare_bits |
a placeholder for the output QmiNasPlmnNameSpareBits, or |
[out] |
value_nitz_information_long_name |
a placeholder for the output GArray of guint8 elements, or |
[out][element-type guint8][transfer none] |
value_nitz_information_short_name |
a placeholder for the output GArray of guint8 elements, or |
[out][element-type guint8][transfer none] |
error |
Return location for error or |
Since: 1.24.6
void qmi_client_nas_get_operator_name (QmiClientNas *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Operator Name 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_operator_name_finish()
to get the result of the operation.
self |
a QmiClientNas. |
|
unused |
|
|
timeout |
maximum time to wait for the method to complete, in seconds. |
|
cancellable |
a GCancellable or |
|
callback |
a GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
user data to pass to |
Since: 1.18
QmiMessageNasGetOperatorNameOutput * qmi_client_nas_get_operator_name_finish (QmiClientNas *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_nas_get_operator_name()
.
self |
a QmiClientNas. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageNasGetOperatorNameOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_nas_get_operator_name_output_unref()
.
Since: 1.18
typedef struct _QmiMessageNasGetOperatorNameOutput QmiMessageNasGetOperatorNameOutput;
The QmiMessageNasGetOperatorNameOutput structure contains private data and should only be accessed using the provided API.
Since: 1.18
typedef struct { gchar *mcc; gchar *mnc; guint16 lac1; guint16 lac2; guint8 plmn_name_record_identifier; } QmiMessageNasGetOperatorNameOutputOperatorPlmnListElement;
A QmiMessageNasGetOperatorNameOutputOperatorPlmnListElement struct.
Since: 1.18
typedef struct { QmiNasPlmnEncodingScheme name_encoding; QmiNasPlmnNameCountryInitials short_country_initials; QmiNasPlmnNameSpareBits long_name_spare_bits; QmiNasPlmnNameSpareBits short_name_spare_bits; GArray *long_name; GArray *short_name; } QmiMessageNasGetOperatorNameOutputOperatorPlmnNameElement;
A QmiMessageNasGetOperatorNameOutputOperatorPlmnNameElement struct.
QmiNasPlmnEncodingScheme |
||
QmiNasPlmnNameCountryInitials |
||
QmiNasPlmnNameSpareBits |
||
QmiNasPlmnNameSpareBits |
||
GArray * |
||
GArray * |
Since: 1.18