Top |
WMS Send From Memory Storage responseWMS Send From Memory Storage response — Methods to manage the WMS Send From Memory Storage response. |
GBoxed ├── QmiMessageWmsSendFromMemoryStorageInput ╰── QmiMessageWmsSendFromMemoryStorageOutput
Collection of methods to create requests and parse responses of the WMS Send From Memory Storage message.
QmiMessageWmsSendFromMemoryStorageInput *
qmi_message_wms_send_from_memory_storage_input_new
(void
);
Allocates a new QmiMessageWmsSendFromMemoryStorageInput.
the newly created QmiMessageWmsSendFromMemoryStorageInput. The returned value should be freed with qmi_message_wms_send_from_memory_storage_input_unref()
.
Since: 1.0
QmiMessageWmsSendFromMemoryStorageInput *
qmi_message_wms_send_from_memory_storage_input_ref
(QmiMessageWmsSendFromMemoryStorageInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_wms_send_from_memory_storage_input_unref
(QmiMessageWmsSendFromMemoryStorageInput *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_send_from_memory_storage_input_get_sms_on_ims (QmiMessageWmsSendFromMemoryStorageInput *self
,gboolean *value_sms_on_ims
,GError **error
);
Get the 'SMS on IMS' field from self
.
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_input_set_sms_on_ims (QmiMessageWmsSendFromMemoryStorageInput *self
,gboolean value_sms_on_ims
,GError **error
);
Set the 'SMS on IMS' field in the message.
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_input_get_information (QmiMessageWmsSendFromMemoryStorageInput *self
,QmiWmsStorageType *value_information_storage_type
,guint32 *value_information_memory_index
,QmiWmsMessageMode *value_information_message_mode
,GError **error
);
Get the 'Information' field from self
.
self |
||
value_information_storage_type |
a placeholder for the output QmiWmsStorageType, or |
[out][optional] |
value_information_memory_index |
a placeholder for the output guint32, or |
[out][optional] |
value_information_message_mode |
a placeholder for the output QmiWmsMessageMode, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_input_set_information (QmiMessageWmsSendFromMemoryStorageInput *self
,QmiWmsStorageType value_information_storage_type
,guint32 value_information_memory_index
,QmiWmsMessageMode value_information_message_mode
,GError **error
);
Set the 'Information' field in the message.
Since: 1.0
QmiMessageWmsSendFromMemoryStorageOutput *
qmi_message_wms_send_from_memory_storage_output_ref
(QmiMessageWmsSendFromMemoryStorageOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.0
void
qmi_message_wms_send_from_memory_storage_output_unref
(QmiMessageWmsSendFromMemoryStorageOutput *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_send_from_memory_storage_output_get_result (QmiMessageWmsSendFromMemoryStorageOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageWmsSendFromMemoryStorageOutput. |
|
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_output_get_message_id (QmiMessageWmsSendFromMemoryStorageOutput *self
,guint16 *value_message_id
,GError **error
);
Get the 'Message ID' field from self
.
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_output_get_cdma_cause_code (QmiMessageWmsSendFromMemoryStorageOutput *self
,QmiWmsCdmaCauseCode *value_cdma_cause_code
,GError **error
);
Get the 'CDMA Cause Code' field from self
.
self |
||
value_cdma_cause_code |
a placeholder for the output QmiWmsCdmaCauseCode, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_output_get_cdma_error_class (QmiMessageWmsSendFromMemoryStorageOutput *self
,QmiWmsCdmaErrorClass *value_cdma_error_class
,GError **error
);
Get the 'CDMA Error Class' field from self
.
self |
||
value_cdma_error_class |
a placeholder for the output QmiWmsCdmaErrorClass, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_output_get_gsm_wcdma_cause_info (QmiMessageWmsSendFromMemoryStorageOutput *self
,QmiWmsGsmUmtsRpCause *value_gsm_wcdma_cause_info_rp_cause
,QmiWmsGsmUmtsTpCause *value_gsm_wcdma_cause_info_tp_cause
,GError **error
);
Get the 'GSM WCDMA Cause Info' field from self
.
self |
||
value_gsm_wcdma_cause_info_rp_cause |
a placeholder for the output QmiWmsGsmUmtsRpCause, or |
[out][optional] |
value_gsm_wcdma_cause_info_tp_cause |
a placeholder for the output QmiWmsGsmUmtsTpCause, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
gboolean qmi_message_wms_send_from_memory_storage_output_get_message_delivery_failure_type (QmiMessageWmsSendFromMemoryStorageOutput *self
,QmiWmsMessageDeliveryFailureType *value_message_delivery_failure_type
,GError **error
);
Get the 'Message Delivery Failure Type' field from self
.
self |
||
value_message_delivery_failure_type |
a placeholder for the output QmiWmsMessageDeliveryFailureType, or |
[out][optional] |
error |
Return location for error or |
Since: 1.0
QmiMessageWmsSendFromMemoryStorageOutput * qmi_message_wms_send_from_memory_storage_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageWmsSendFromMemoryStorageOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageWmsSendFromMemoryStorageOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wms_send_from_memory_storage_output_unref()
.
Since: 1.34
void qmi_client_wms_send_from_memory_storage (QmiClientWms *self
,QmiMessageWmsSendFromMemoryStorageInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Send From Memory Storage 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_send_from_memory_storage_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
QmiMessageWmsSendFromMemoryStorageOutput * qmi_client_wms_send_from_memory_storage_finish (QmiClientWms *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_wms_send_from_memory_storage()
.
self |
a QmiClientWms. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageWmsSendFromMemoryStorageOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_wms_send_from_memory_storage_output_unref()
.
Since: 1.0
typedef struct _QmiMessageWmsSendFromMemoryStorageInput QmiMessageWmsSendFromMemoryStorageInput;
The QmiMessageWmsSendFromMemoryStorageInput structure contains private data and should only be accessed using the provided API.
Since: 1.0
typedef struct _QmiMessageWmsSendFromMemoryStorageOutput QmiMessageWmsSendFromMemoryStorageOutput;
The QmiMessageWmsSendFromMemoryStorageOutput structure contains private data and should only be accessed using the provided API.
Since: 1.0