| Top |  |  |  |  | 
| LOC Inject Xtra Data responseLOC Inject Xtra Data response — Methods to manage the LOC Inject Xtra Data response. | 
Collection of methods to create requests and parse responses of the LOC Inject Xtra Data message.
QmiMessageLocInjectXtraDataInput *
qmi_message_loc_inject_xtra_data_input_new
                               (void);
Allocates a new QmiMessageLocInjectXtraDataInput.
 the newly created QmiMessageLocInjectXtraDataInput. The returned value should be freed with qmi_message_loc_inject_xtra_data_input_unref().
Since: 1.22
QmiMessageLocInjectXtraDataInput *
qmi_message_loc_inject_xtra_data_input_ref
                               (QmiMessageLocInjectXtraDataInput *self);
Atomically increments the reference count of self
 by one.
Since: 1.22
void
qmi_message_loc_inject_xtra_data_input_unref
                               (QmiMessageLocInjectXtraDataInput *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_inject_xtra_data_input_get_part_data (QmiMessageLocInjectXtraDataInput *self,GArray **value_part_data,GError **error);
Get the 'Part Data' field from self
.
| self | ||
| value_part_data | a placeholder for the output GArray of guint8 elements, or  | [out][optional][element-type guint8][transfer none] | 
| error | Return location for error or  | 
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_set_part_data (QmiMessageLocInjectXtraDataInput *self,GArray *value_part_data,GError **error);
Set the 'Part Data' field in the message.
| self | ||
| value_part_data | a GArray of guint8 elements. A new reference to  | [in][element-type guint8][transfer none] | 
| error | Return location for error or  | 
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_get_part_number (QmiMessageLocInjectXtraDataInput *self,guint16 *value_part_number,GError **error);
Get the 'Part Number' field from self
.
| self | ||
| value_part_number | a placeholder for the output guint16, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_set_part_number (QmiMessageLocInjectXtraDataInput *self,guint16 value_part_number,GError **error);
Set the 'Part Number' field in the message.
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_get_total_parts (QmiMessageLocInjectXtraDataInput *self,guint16 *value_total_parts,GError **error);
Get the 'Total Parts' field from self
.
| self | ||
| value_total_parts | a placeholder for the output guint16, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_set_total_parts (QmiMessageLocInjectXtraDataInput *self,guint16 value_total_parts,GError **error);
Set the 'Total Parts' field in the message.
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_get_total_size (QmiMessageLocInjectXtraDataInput *self,guint32 *value_total_size,GError **error);
Get the 'Total Size' field from self
.
| self | ||
| value_total_size | a placeholder for the output guint32, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.22
gboolean qmi_message_loc_inject_xtra_data_input_set_total_size (QmiMessageLocInjectXtraDataInput *self,guint32 value_total_size,GError **error);
Set the 'Total Size' field in the message.
Since: 1.22
QmiMessageLocInjectXtraDataOutput *
qmi_message_loc_inject_xtra_data_output_ref
                               (QmiMessageLocInjectXtraDataOutput *self);
Atomically increments the reference count of self
 by one.
Since: 1.22
void
qmi_message_loc_inject_xtra_data_output_unref
                               (QmiMessageLocInjectXtraDataOutput *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_inject_xtra_data_output_get_result (QmiMessageLocInjectXtraDataOutput *self,GError **error);
Get the result of the QMI operation.
Since: 1.22
QmiMessageLocInjectXtraDataOutput * qmi_message_loc_inject_xtra_data_response_parse (QmiMessage *message,GError **error);
Parses a QmiMessage and builds a QmiMessageLocInjectXtraDataOutput out of it. The operation fails if the message is of the wrong type.
 a QmiMessageLocInjectXtraDataOutput, or NULL if error
is set. The returned value should be freed with qmi_message_loc_inject_xtra_data_output_unref().
Since: 1.34
void qmi_client_loc_inject_xtra_data (QmiClientLoc *self,QmiMessageLocInjectXtraDataInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Inject Xtra 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_inject_xtra_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
QmiMessageLocInjectXtraDataOutput * qmi_client_loc_inject_xtra_data_finish (QmiClientLoc *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_loc_inject_xtra_data().
| self | a QmiClientLoc. | |
| res | the GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
 a QmiMessageLocInjectXtraDataOutput, or NULL if error
is set. The returned value should be freed with qmi_message_loc_inject_xtra_data_output_unref().
Since: 1.22
typedef struct _QmiMessageLocInjectXtraDataInput QmiMessageLocInjectXtraDataInput;
The QmiMessageLocInjectXtraDataInput structure contains private data and should only be accessed using the provided API.
Since: 1.22
typedef struct _QmiMessageLocInjectXtraDataOutput QmiMessageLocInjectXtraDataOutput;
The QmiMessageLocInjectXtraDataOutput structure contains private data and should only be accessed using the provided API.
Since: 1.22