Top |
LOC Delete Assistance Data responseLOC Delete Assistance Data response — Methods to manage the LOC Delete Assistance Data response. |
GBoxed ├── QmiMessageLocDeleteAssistanceDataInput ├── QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement ╰── QmiMessageLocDeleteAssistanceDataOutput
Collection of methods to create requests and parse responses of the LOC Delete Assistance Data message.
QmiMessageLocDeleteAssistanceDataInput *
qmi_message_loc_delete_assistance_data_input_new
(void
);
Allocates a new QmiMessageLocDeleteAssistanceDataInput.
the newly created QmiMessageLocDeleteAssistanceDataInput. The returned value should be freed with qmi_message_loc_delete_assistance_data_input_unref()
.
Since: 1.22
QmiMessageLocDeleteAssistanceDataInput *
qmi_message_loc_delete_assistance_data_input_ref
(QmiMessageLocDeleteAssistanceDataInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_loc_delete_assistance_data_input_unref
(QmiMessageLocDeleteAssistanceDataInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_get_delete_clock_info_mask (QmiMessageLocDeleteAssistanceDataInput *self
,QmiLocDeleteClockInfo *value_delete_clock_info_mask
,GError **error
);
Get the 'Delete Clock Info Mask' field from self
.
self |
||
value_delete_clock_info_mask |
a placeholder for the output QmiLocDeleteClockInfo, or |
[out][optional] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_set_delete_clock_info_mask (QmiMessageLocDeleteAssistanceDataInput *self
,QmiLocDeleteClockInfo value_delete_clock_info_mask
,GError **error
);
Set the 'Delete Clock Info Mask' field in the message.
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_get_delete_cell_database_mask (QmiMessageLocDeleteAssistanceDataInput *self
,QmiLocDeleteCellDatabase *value_delete_cell_database_mask
,GError **error
);
Get the 'Delete Cell Database Mask' field from self
.
self |
||
value_delete_cell_database_mask |
a placeholder for the output QmiLocDeleteCellDatabase, or |
[out][optional] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_set_delete_cell_database_mask (QmiMessageLocDeleteAssistanceDataInput *self
,QmiLocDeleteCellDatabase value_delete_cell_database_mask
,GError **error
);
Set the 'Delete Cell Database Mask' field in the message.
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_get_delete_gnss_data_mask (QmiMessageLocDeleteAssistanceDataInput *self
,QmiLocDeleteGnssData *value_delete_gnss_data_mask
,GError **error
);
Get the 'Delete GNSS Data Mask' field from self
.
self |
||
value_delete_gnss_data_mask |
a placeholder for the output QmiLocDeleteGnssData, or |
[out][optional] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_set_delete_gnss_data_mask (QmiMessageLocDeleteAssistanceDataInput *self
,QmiLocDeleteGnssData value_delete_gnss_data_mask
,GError **error
);
Set the 'Delete GNSS Data Mask' field in the message.
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_get_delete_sv_info (QmiMessageLocDeleteAssistanceDataInput *self
,GArray **value_delete_sv_info
,GError **error
);
Get the 'Delete SV Info' field from self
.
[skip]
self |
||
value_delete_sv_info |
a placeholder for the output GArray of QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement elements, or |
[out][optional][element-type QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement][transfer none] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_get_delete_sv_info_gir (QmiMessageLocDeleteAssistanceDataInput *self
,GPtrArray **value_delete_sv_info_ptr
,GError **error
);
Get the 'Delete SV Info' field from self
.
Version of qmi_message_loc_delete_assistance_data_input_get_delete_sv_info()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_loc_delete_assistance_data_input_get_delete_sv_info]
self |
||
value_delete_sv_info_ptr |
a placeholder for the output array of QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement elements, or |
[out][optional][element-type QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_loc_delete_assistance_data_input_set_delete_sv_info (QmiMessageLocDeleteAssistanceDataInput *self
,GArray *value_delete_sv_info
,GError **error
);
Set the 'Delete SV Info' field in the message.
[skip]
self |
||
value_delete_sv_info |
a GArray of QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement elements. A new reference to |
[in][element-type QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement][transfer none] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_set_delete_sv_info_gir (QmiMessageLocDeleteAssistanceDataInput *self
,GPtrArray *value_delete_sv_info_ptr
,GError **error
);
Set the 'Delete SV Info' field in the message.
[rename-to qmi_message_loc_delete_assistance_data_input_set_delete_sv_info]
self |
||
value_delete_sv_info_ptr |
array of QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement elements. The contents of the given array will be copied, the GPtrArray will not increase its reference count. |
[in][element-type QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_loc_delete_assistance_data_input_get_delete_all (QmiMessageLocDeleteAssistanceDataInput *self
,gboolean *value_delete_all
,GError **error
);
Get the 'Delete All' field from self
.
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_input_set_delete_all (QmiMessageLocDeleteAssistanceDataInput *self
,gboolean value_delete_all
,GError **error
);
Set the 'Delete All' field in the message.
Since: 1.22
QmiMessageLocDeleteAssistanceDataOutput *
qmi_message_loc_delete_assistance_data_output_ref
(QmiMessageLocDeleteAssistanceDataOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_loc_delete_assistance_data_output_unref
(QmiMessageLocDeleteAssistanceDataOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.22
gboolean qmi_message_loc_delete_assistance_data_output_get_result (QmiMessageLocDeleteAssistanceDataOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.22
QmiMessageLocDeleteAssistanceDataOutput * qmi_message_loc_delete_assistance_data_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageLocDeleteAssistanceDataOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageLocDeleteAssistanceDataOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_loc_delete_assistance_data_output_unref()
.
Since: 1.34
void qmi_client_loc_delete_assistance_data (QmiClientLoc *self
,QmiMessageLocDeleteAssistanceDataInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Delete Assistance Data 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_loc_delete_assistance_data_finish()
to get the result of the operation.
self |
a QmiClientLoc. |
|
input |
||
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.22
QmiMessageLocDeleteAssistanceDataOutput * qmi_client_loc_delete_assistance_data_finish (QmiClientLoc *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_loc_delete_assistance_data()
.
self |
a QmiClientLoc. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageLocDeleteAssistanceDataOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_loc_delete_assistance_data_output_unref()
.
Since: 1.22
typedef struct _QmiMessageLocDeleteAssistanceDataInput QmiMessageLocDeleteAssistanceDataInput;
The QmiMessageLocDeleteAssistanceDataInput structure contains private data and should only be accessed using the provided API.
Since: 1.22
typedef struct { guint16 gnss_sv_id; QmiLocSystem system; QmiLocDeleteSvInfo delete_sv_info_mask; } QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement;
A QmiMessageLocDeleteAssistanceDataInputDeleteSvInfoElement struct.
guint16 |
a guint16. |
|
QmiLocSystem |
a QmiLocSystem. |
|
QmiLocDeleteSvInfo |
Since: 1.22
typedef struct _QmiMessageLocDeleteAssistanceDataOutput QmiMessageLocDeleteAssistanceDataOutput;
The QmiMessageLocDeleteAssistanceDataOutput structure contains private data and should only be accessed using the provided API.
Since: 1.22