Top |
QmiMessageWmsRawReadInput *
qmi_message_wms_raw_read_input_new (void
);
Allocates a new QmiMessageWmsRawReadInput.
the newly created QmiMessageWmsRawReadInput. The returned value should be freed with qmi_message_wms_raw_read_input_unref()
.
Since: 1.0
QmiMessageWmsRawReadInput *
qmi_message_wms_raw_read_input_ref (QmiMessageWmsRawReadInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_wms_raw_read_input_unref (QmiMessageWmsRawReadInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.0
gboolean qmi_message_wms_raw_read_input_get_sms_on_ims (QmiMessageWmsRawReadInput *self
,gboolean *value_sms_on_ims
,GError **error
);
Get the 'SMS on IMS' field from self
.
Since: 1.0
gboolean qmi_message_wms_raw_read_input_set_sms_on_ims (QmiMessageWmsRawReadInput *self
,gboolean value_sms_on_ims
,GError **error
);
Set the 'SMS on IMS' field in the message.
Since: 1.0
gboolean qmi_message_wms_raw_read_input_get_message_mode (QmiMessageWmsRawReadInput *self
,QmiWmsMessageMode *value_message_mode
,GError **error
);
Get the 'Message Mode' field from self
.
self |
||
value_message_mode |
a placeholder for the output QmiWmsMessageMode, or |
|
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_raw_read_input_set_message_mode (QmiMessageWmsRawReadInput *self
,QmiWmsMessageMode value_message_mode
,GError **error
);
Set the 'Message Mode' field in the message.
Since: 1.0
gboolean qmi_message_wms_raw_read_input_get_message_memory_storage_id (QmiMessageWmsRawReadInput *self
,QmiWmsStorageType *value_message_memory_storage_id_storage_type
,guint32 *value_message_memory_storage_id_memory_index
,GError **error
);
Get the 'Message Memory Storage ID' field from self
.
self |
||
value_message_memory_storage_id_storage_type |
a placeholder for the output QmiWmsStorageType, or |
|
value_message_memory_storage_id_memory_index |
a placeholder for the output guint32, or |
|
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_raw_read_input_set_message_memory_storage_id (QmiMessageWmsRawReadInput *self
,QmiWmsStorageType value_message_memory_storage_id_storage_type
,guint32 value_message_memory_storage_id_memory_index
,GError **error
);
Set the 'Message Memory Storage ID' field in the message.
Since: 1.0
QmiMessageWmsRawReadOutput *
qmi_message_wms_raw_read_output_ref (QmiMessageWmsRawReadOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_wms_raw_read_output_unref (QmiMessageWmsRawReadOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.0
gboolean qmi_message_wms_raw_read_output_get_result (QmiMessageWmsRawReadOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.0
gboolean qmi_message_wms_raw_read_output_get_raw_message_data (QmiMessageWmsRawReadOutput *self
,QmiWmsMessageTagType *value_raw_message_data_message_tag
,QmiWmsMessageFormat *value_raw_message_data_format
,GArray **value_raw_message_data_raw_data
,GError **error
);
Get the 'Raw Message Data' field from self
.
self |
||
value_raw_message_data_message_tag |
a placeholder for the output QmiWmsMessageTagType, or |
|
value_raw_message_data_format |
a placeholder for the output QmiWmsMessageFormat, or |
|
value_raw_message_data_raw_data |
a placeholder for the output GArray of guint8 elements, or |
|
error |
Return location for error or |
Since: 1.0
void qmi_client_wms_raw_read (QmiClientWms *self
,QmiMessageWmsRawReadInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Raw Read 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_wms_raw_read_finish()
to get the result of the operation.
self |
a QmiClientWms. |
|
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.0
QmiMessageWmsRawReadOutput * qmi_client_wms_raw_read_finish (QmiClientWms *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wms_raw_read()
.
self |
a QmiClientWms. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWmsRawReadOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wms_raw_read_output_unref()
.
Since: 1.0
typedef struct _QmiMessageWmsRawReadInput QmiMessageWmsRawReadInput;
The QmiMessageWmsRawReadInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageWmsRawReadOutput QmiMessageWmsRawReadOutput;
The QmiMessageWmsRawReadOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0