| Top |  |  |  |  | 
| VOICE Originate USSD responseVOICE Originate USSD response — Methods to manage the VOICE Originate USSD response. | 
GBoxed ├── QmiMessageVoiceOriginateUssdInput ╰── QmiMessageVoiceOriginateUssdOutput
Collection of methods to create requests and parse responses of the VOICE Originate USSD message.
QmiMessageVoiceOriginateUssdInput *
qmi_message_voice_originate_ussd_input_new
                               (void);
Allocates a new QmiMessageVoiceOriginateUssdInput.
 the newly created QmiMessageVoiceOriginateUssdInput. The returned value should be freed with qmi_message_voice_originate_ussd_input_unref().
Since: 1.26
QmiMessageVoiceOriginateUssdInput *
qmi_message_voice_originate_ussd_input_ref
                               (QmiMessageVoiceOriginateUssdInput *self);
Atomically increments the reference count of self
 by one.
Since: 1.26
void
qmi_message_voice_originate_ussd_input_unref
                               (QmiMessageVoiceOriginateUssdInput *self);
Atomically decrements the reference count of self
 by one.
If the reference count drops to 0, self
 is completely disposed.
Since: 1.26
gboolean qmi_message_voice_originate_ussd_input_get_uss_data (QmiMessageVoiceOriginateUssdInput *self,QmiVoiceUssDataCodingScheme *value_uss_data_data_coding_scheme,GArray **value_uss_data_data,GError **error);
Get the 'USS Data' field from self
.
| self | ||
| value_uss_data_data_coding_scheme | a placeholder for the output QmiVoiceUssDataCodingScheme, or  | [out][optional] | 
| value_uss_data_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.26
gboolean qmi_message_voice_originate_ussd_input_set_uss_data (QmiMessageVoiceOriginateUssdInput *self,QmiVoiceUssDataCodingScheme value_uss_data_data_coding_scheme,GArray *value_uss_data_data,GError **error);
Set the 'USS Data' field in the message.
| self | ||
| value_uss_data_data_coding_scheme | ||
| value_uss_data_data | a GArray of guint8 elements. A new reference to  | [in][element-type guint8][transfer none] | 
| error | Return location for error or  | 
Since: 1.26
QmiMessageVoiceOriginateUssdOutput *
qmi_message_voice_originate_ussd_output_ref
                               (QmiMessageVoiceOriginateUssdOutput *self);
Atomically increments the reference count of self
 by one.
Since: 1.26
void
qmi_message_voice_originate_ussd_output_unref
                               (QmiMessageVoiceOriginateUssdOutput *self);
Atomically decrements the reference count of self
 by one.
If the reference count drops to 0, self
 is completely disposed.
Since: 1.26
gboolean qmi_message_voice_originate_ussd_output_get_uss_data_utf16 (QmiMessageVoiceOriginateUssdOutput *self,GArray **value_uss_data_utf16,GError **error);
Get the 'USS Data UTF16' field from self
.
| self | ||
| value_uss_data_utf16 | a placeholder for the output GArray of guint16 elements, or  | [out][optional][element-type guint16][transfer none] | 
| error | Return location for error or  | 
Since: 1.26
gboolean qmi_message_voice_originate_ussd_output_get_call_control_supplementary_service_type (QmiMessageVoiceOriginateUssdOutput *self,QmiVoiceCallControlSupplementaryServiceType *value_call_control_supplementary_service_type,GError **error);
Get the 'Call Control Supplementary Service Type' field from self
.
| self | ||
| value_call_control_supplementary_service_type | a placeholder for the output QmiVoiceCallControlSupplementaryServiceType, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.26
gboolean qmi_message_voice_originate_ussd_output_get_call_id (QmiMessageVoiceOriginateUssdOutput *self,guint8 *value_call_id,GError **error);
Get the 'Call ID' field from self
.
| self | ||
| value_call_id | a placeholder for the output guint8, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.26
gboolean qmi_message_voice_originate_ussd_output_get_call_control_result_type (QmiMessageVoiceOriginateUssdOutput *self,QmiVoiceCallControlResultType *value_call_control_result_type,GError **error);
Get the 'Call Control Result Type' field from self
.
| self | ||
| value_call_control_result_type | a placeholder for the output QmiVoiceCallControlResultType, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.26
gboolean qmi_message_voice_originate_ussd_output_get_uss_data (QmiMessageVoiceOriginateUssdOutput *self,QmiVoiceUssDataCodingScheme *value_uss_data_data_coding_scheme,GArray **value_uss_data_data,GError **error);
Get the 'USS Data' field from self
.
| self | ||
| value_uss_data_data_coding_scheme | a placeholder for the output QmiVoiceUssDataCodingScheme, or  | [out][optional] | 
| value_uss_data_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.26
gboolean qmi_message_voice_originate_ussd_output_get_alpha_identifier (QmiMessageVoiceOriginateUssdOutput *self,QmiVoiceAlphaDataCodingScheme *value_alpha_identifier_data_coding_scheme,GArray **value_alpha_identifier_alpha,GError **error);
Get the 'Alpha Identifier' field from self
.
| self | ||
| value_alpha_identifier_data_coding_scheme | a placeholder for the output QmiVoiceAlphaDataCodingScheme, or  | [out][optional] | 
| value_alpha_identifier_alpha | 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.26
gboolean qmi_message_voice_originate_ussd_output_get_failure_cause (QmiMessageVoiceOriginateUssdOutput *self,QmiVoiceCallEndReason *value_failure_cause,GError **error);
Get the 'Failure Cause' field from self
.
| self | ||
| value_failure_cause | a placeholder for the output QmiVoiceCallEndReason, or  | [out][optional] | 
| error | Return location for error or  | 
Since: 1.26
gboolean qmi_message_voice_originate_ussd_output_get_result (QmiMessageVoiceOriginateUssdOutput *self,GError **error);
Get the result of the QMI operation.
Since: 1.26
QmiMessageVoiceOriginateUssdOutput * qmi_message_voice_originate_ussd_response_parse (QmiMessage *message,GError **error);
Parses a QmiMessage and builds a QmiMessageVoiceOriginateUssdOutput out of it. The operation fails if the message is of the wrong type.
 a QmiMessageVoiceOriginateUssdOutput, or NULL if error
is set. The returned value should be freed with qmi_message_voice_originate_ussd_output_unref().
Since: 1.34
void qmi_client_voice_originate_ussd (QmiClientVoice *self,QmiMessageVoiceOriginateUssdInput *input,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Originate USSD 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_voice_originate_ussd_finish() to get the result of the operation.
| self | ||
| 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.26
QmiMessageVoiceOriginateUssdOutput * qmi_client_voice_originate_ussd_finish (QmiClientVoice *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_voice_originate_ussd().
| self | ||
| res | the GAsyncResult obtained from the GAsyncReadyCallback passed to  | |
| error | Return location for error or  | 
 a QmiMessageVoiceOriginateUssdOutput, or NULL if error
is set. The returned value should be freed with qmi_message_voice_originate_ussd_output_unref().
Since: 1.26
typedef struct _QmiMessageVoiceOriginateUssdInput QmiMessageVoiceOriginateUssdInput;
The QmiMessageVoiceOriginateUssdInput structure contains private data and should only be accessed using the provided API.
Since: 1.26
typedef struct _QmiMessageVoiceOriginateUssdOutput QmiMessageVoiceOriginateUssdOutput;
The QmiMessageVoiceOriginateUssdOutput structure contains private data and should only be accessed using the provided API.
Since: 1.26