Top |
LOC Inject Predicted Orbits Data responseLOC Inject Predicted Orbits Data response — Methods to manage the LOC Inject Predicted Orbits Data response. |
GBoxed ├── QmiMessageLocInjectPredictedOrbitsDataInput ╰── QmiMessageLocInjectPredictedOrbitsDataOutput
Collection of methods to create requests and parse responses of the LOC Inject Predicted Orbits Data message.
QmiMessageLocInjectPredictedOrbitsDataInput *
qmi_message_loc_inject_predicted_orbits_data_input_new
(void
);
Allocates a new QmiMessageLocInjectPredictedOrbitsDataInput.
the newly created QmiMessageLocInjectPredictedOrbitsDataInput. The returned value should be freed with qmi_message_loc_inject_predicted_orbits_data_input_unref()
.
Since: 1.22
QmiMessageLocInjectPredictedOrbitsDataInput *
qmi_message_loc_inject_predicted_orbits_data_input_ref
(QmiMessageLocInjectPredictedOrbitsDataInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_loc_inject_predicted_orbits_data_input_unref
(QmiMessageLocInjectPredictedOrbitsDataInput *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_predicted_orbits_data_input_get_format_type (QmiMessageLocInjectPredictedOrbitsDataInput *self
,QmiLocPredictedOrbitsDataFormat *value_format_type
,GError **error
);
Get the 'Format Type' field from self
.
self |
||
value_format_type |
a placeholder for the output QmiLocPredictedOrbitsDataFormat, or |
[out][optional] |
error |
Return location for error or |
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_set_format_type (QmiMessageLocInjectPredictedOrbitsDataInput *self
,QmiLocPredictedOrbitsDataFormat value_format_type
,GError **error
);
Set the 'Format Type' field in the message.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_get_part_data (QmiMessageLocInjectPredictedOrbitsDataInput *self
,GArray **value_part_data
,GError **error
);
Get the 'Part Data' field from self
.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_set_part_data (QmiMessageLocInjectPredictedOrbitsDataInput *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_predicted_orbits_data_input_get_part_number (QmiMessageLocInjectPredictedOrbitsDataInput *self
,guint16 *value_part_number
,GError **error
);
Get the 'Part Number' field from self
.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_set_part_number (QmiMessageLocInjectPredictedOrbitsDataInput *self
,guint16 value_part_number
,GError **error
);
Set the 'Part Number' field in the message.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_get_total_parts (QmiMessageLocInjectPredictedOrbitsDataInput *self
,guint16 *value_total_parts
,GError **error
);
Get the 'Total Parts' field from self
.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_set_total_parts (QmiMessageLocInjectPredictedOrbitsDataInput *self
,guint16 value_total_parts
,GError **error
);
Set the 'Total Parts' field in the message.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_get_total_size (QmiMessageLocInjectPredictedOrbitsDataInput *self
,guint32 *value_total_size
,GError **error
);
Get the 'Total Size' field from self
.
Since: 1.22
gboolean qmi_message_loc_inject_predicted_orbits_data_input_set_total_size (QmiMessageLocInjectPredictedOrbitsDataInput *self
,guint32 value_total_size
,GError **error
);
Set the 'Total Size' field in the message.
Since: 1.22
QmiMessageLocInjectPredictedOrbitsDataOutput *
qmi_message_loc_inject_predicted_orbits_data_output_ref
(QmiMessageLocInjectPredictedOrbitsDataOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.22
void
qmi_message_loc_inject_predicted_orbits_data_output_unref
(QmiMessageLocInjectPredictedOrbitsDataOutput *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_predicted_orbits_data_output_get_result (QmiMessageLocInjectPredictedOrbitsDataOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageLocInjectPredictedOrbitsDataOutput. |
|
error |
Return location for error or |
Since: 1.22
QmiMessageLocInjectPredictedOrbitsDataOutput * qmi_message_loc_inject_predicted_orbits_data_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageLocInjectPredictedOrbitsDataOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageLocInjectPredictedOrbitsDataOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_loc_inject_predicted_orbits_data_output_unref()
.
Since: 1.34
void qmi_client_loc_inject_predicted_orbits_data (QmiClientLoc *self
,QmiMessageLocInjectPredictedOrbitsDataInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Inject Predicted Orbits 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_predicted_orbits_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
QmiMessageLocInjectPredictedOrbitsDataOutput * qmi_client_loc_inject_predicted_orbits_data_finish (QmiClientLoc *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_loc_inject_predicted_orbits_data()
.
self |
a QmiClientLoc. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageLocInjectPredictedOrbitsDataOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_loc_inject_predicted_orbits_data_output_unref()
.
Since: 1.22
typedef struct _QmiMessageLocInjectPredictedOrbitsDataInput QmiMessageLocInjectPredictedOrbitsDataInput;
The QmiMessageLocInjectPredictedOrbitsDataInput structure contains private data and should only be accessed using the provided API.
Since: 1.22
typedef struct _QmiMessageLocInjectPredictedOrbitsDataOutput QmiMessageLocInjectPredictedOrbitsDataOutput;
The QmiMessageLocInjectPredictedOrbitsDataOutput structure contains private data and should only be accessed using the provided API.
Since: 1.22