| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessageWmsSendFromMemoryStorageInput; QmiMessageWmsSendFromMemoryStorageOutput; QmiMessageWmsSendFromMemoryStorageInput * qmi_message_wms_send_from_memory_storage_input_new (void); QmiMessageWmsSendFromMemoryStorageInput * qmi_message_wms_send_from_memory_storage_input_ref (QmiMessageWmsSendFromMemoryStorageInput *self); void qmi_message_wms_send_from_memory_storage_input_unref (QmiMessageWmsSendFromMemoryStorageInput *self); gboolean qmi_message_wms_send_from_memory_storage_input_get_sms_on_ims (QmiMessageWmsSendFromMemoryStorageInput *self,gboolean *sms_on_ims,GError **error); gboolean qmi_message_wms_send_from_memory_storage_input_set_sms_on_ims (QmiMessageWmsSendFromMemoryStorageInput *self,gboolean sms_on_ims,GError **error); gboolean qmi_message_wms_send_from_memory_storage_input_get_information (QmiMessageWmsSendFromMemoryStorageInput *self,QmiWmsStorageType *information_storage_type,guint32 *information_memory_index,QmiWmsMessageMode *information_message_mode,GError **error); gboolean qmi_message_wms_send_from_memory_storage_input_set_information (QmiMessageWmsSendFromMemoryStorageInput *self,QmiWmsStorageType information_storage_type,guint32 information_memory_index,QmiWmsMessageMode information_message_mode,GError **error); QmiMessageWmsSendFromMemoryStorageOutput * qmi_message_wms_send_from_memory_storage_output_ref (QmiMessageWmsSendFromMemoryStorageOutput *self); void qmi_message_wms_send_from_memory_storage_output_unref (QmiMessageWmsSendFromMemoryStorageOutput *self); gboolean qmi_message_wms_send_from_memory_storage_output_get_result (QmiMessageWmsSendFromMemoryStorageOutput *self,GError **error); gboolean qmi_message_wms_send_from_memory_storage_output_get_message_id (QmiMessageWmsSendFromMemoryStorageOutput *self,guint16 *message_id,GError **error); gboolean qmi_message_wms_send_from_memory_storage_output_get_cdma_cause_code (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsCdmaCauseCode *cdma_cause_code,GError **error); gboolean qmi_message_wms_send_from_memory_storage_output_get_cdma_error_class (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsCdmaErrorClass *cdma_error_class,GError **error); gboolean qmi_message_wms_send_from_memory_storage_output_get_gsm_wcdma_cause_info (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsGsmUmtsRpCause *gsm_wcdma_cause_info_rp_cause,QmiWmsGsmUmtsTpCause *gsm_wcdma_cause_info_tp_cause,GError **error); gboolean qmi_message_wms_send_from_memory_storage_output_get_message_delivery_failure_type (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsMessageDeliveryFailureType *message_delivery_failure_type,GError **error); void qmi_client_wms_send_from_memory_storage (QmiClientWms *self,QmiMessageWmsSendFromMemoryStorageInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessageWmsSendFromMemoryStorageOutput * qmi_client_wms_send_from_memory_storage_finish (QmiClientWms *self,GAsyncResult *res,GError **error);
GBoxed +----QmiMessageWmsSendFromMemoryStorageInput
GBoxed +----QmiMessageWmsSendFromMemoryStorageOutput
typedef struct _QmiMessageWmsSendFromMemoryStorageInput QmiMessageWmsSendFromMemoryStorageInput;
The QmiMessageWmsSendFromMemoryStorageInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageWmsSendFromMemoryStorageOutput QmiMessageWmsSendFromMemoryStorageOutput;
The QmiMessageWmsSendFromMemoryStorageOutput structure contains private data and should only be accessed using the provided API.
QmiMessageWmsSendFromMemoryStorageInput * qmi_message_wms_send_from_memory_storage_input_new
(void);
Allocates a new QmiMessageWmsSendFromMemoryStorageInput.
Returns : |
the newly created QmiMessageWmsSendFromMemoryStorageInput. The returned value should be freed with qmi_message_wms_send_from_memory_storage_input_unref(). |
QmiMessageWmsSendFromMemoryStorageInput * qmi_message_wms_send_from_memory_storage_input_ref
(QmiMessageWmsSendFromMemoryStorageInput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageWmsSendFromMemoryStorageInput. |
Returns : |
the new reference to self. |
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.
|
a QmiMessageWmsSendFromMemoryStorageInput. |
gboolean qmi_message_wms_send_from_memory_storage_input_get_sms_on_ims (QmiMessageWmsSendFromMemoryStorageInput *self,gboolean *sms_on_ims,GError **error);
Get the 'SMS on IMS' field from self.
gboolean qmi_message_wms_send_from_memory_storage_input_set_sms_on_ims (QmiMessageWmsSendFromMemoryStorageInput *self,gboolean sms_on_ims,GError **error);
Set the 'SMS on IMS' field in the message.
|
a QmiMessageWmsSendFromMemoryStorageInput. |
|
a gboolean. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_wms_send_from_memory_storage_input_get_information (QmiMessageWmsSendFromMemoryStorageInput *self,QmiWmsStorageType *information_storage_type,guint32 *information_memory_index,QmiWmsMessageMode *information_message_mode,GError **error);
Get the 'Information' field from self.
|
a QmiMessageWmsSendFromMemoryStorageInput. |
|
a placeholder for the output QmiWmsStorageType, or NULL if not required. |
|
a placeholder for the output guint32, or NULL if not required. |
|
a placeholder for the output QmiWmsMessageMode, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wms_send_from_memory_storage_input_set_information (QmiMessageWmsSendFromMemoryStorageInput *self,QmiWmsStorageType information_storage_type,guint32 information_memory_index,QmiWmsMessageMode information_message_mode,GError **error);
Set the 'Information' field in the message.
|
a QmiMessageWmsSendFromMemoryStorageInput. |
|
a QmiWmsStorageType. |
|
a guint32. |
|
a QmiWmsMessageMode. |
|
Return location for error or NULL. |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageWmsSendFromMemoryStorageOutput * qmi_message_wms_send_from_memory_storage_output_ref
(QmiMessageWmsSendFromMemoryStorageOutput *self);
Atomically increments the reference count of self by one.
|
a QmiMessageWmsSendFromMemoryStorageOutput. |
Returns : |
the new reference to self. |
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.
|
a QmiMessageWmsSendFromMemoryStorageOutput. |
gboolean qmi_message_wms_send_from_memory_storage_output_get_result (QmiMessageWmsSendFromMemoryStorageOutput *self,GError **error);
Get the result of the QMI operation.
gboolean qmi_message_wms_send_from_memory_storage_output_get_message_id (QmiMessageWmsSendFromMemoryStorageOutput *self,guint16 *message_id,GError **error);
Get the 'Message ID' field from self.
gboolean qmi_message_wms_send_from_memory_storage_output_get_cdma_cause_code (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsCdmaCauseCode *cdma_cause_code,GError **error);
Get the 'CDMA Cause Code' field from self.
|
a QmiMessageWmsSendFromMemoryStorageOutput. |
|
a placeholder for the output QmiWmsCdmaCauseCode, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wms_send_from_memory_storage_output_get_cdma_error_class (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsCdmaErrorClass *cdma_error_class,GError **error);
Get the 'CDMA Error Class' field from self.
|
a QmiMessageWmsSendFromMemoryStorageOutput. |
|
a placeholder for the output QmiWmsCdmaErrorClass, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wms_send_from_memory_storage_output_get_gsm_wcdma_cause_info (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsGsmUmtsRpCause *gsm_wcdma_cause_info_rp_cause,QmiWmsGsmUmtsTpCause *gsm_wcdma_cause_info_tp_cause,GError **error);
Get the 'GSM WCDMA Cause Info' field from self.
|
a QmiMessageWmsSendFromMemoryStorageOutput. |
|
a placeholder for the output QmiWmsGsmUmtsRpCause, or NULL if not required. |
|
a placeholder for the output QmiWmsGsmUmtsTpCause, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_wms_send_from_memory_storage_output_get_message_delivery_failure_type (QmiMessageWmsSendFromMemoryStorageOutput *self,QmiWmsMessageDeliveryFailureType *message_delivery_failure_type,GError **error);
Get the 'Message Delivery Failure Type' field from self.
|
a QmiMessageWmsSendFromMemoryStorageOutput. |
|
a placeholder for the output QmiWmsMessageDeliveryFailureType, or NULL if not required. |
|
Return location for error or NULL. |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiClientWms. |
|
a QmiMessageWmsSendFromMemoryStorageInput. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL. |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback. |
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().
|
a QmiClientWms. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_wms_send_from_memory_storage(). |
|
Return location for error or NULL. |
Returns : |
a QmiMessageWmsSendFromMemoryStorageOutput, or NULL if error is set. The returned value should be freed with qmi_message_wms_send_from_memory_storage_output_unref(). |