Top |
VOICE Get Config responseVOICE Get Config response — Methods to manage the VOICE Get Config response. |
Collection of methods to create requests and parse responses of the VOICE Get Config message.
QmiMessageVoiceGetConfigInput *
qmi_message_voice_get_config_input_new
(void
);
Allocates a new QmiMessageVoiceGetConfigInput.
the newly created QmiMessageVoiceGetConfigInput. The returned value should be freed with qmi_message_voice_get_config_input_unref()
.
Since: 1.14
QmiMessageVoiceGetConfigInput *
qmi_message_voice_get_config_input_ref
(QmiMessageVoiceGetConfigInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.14
void
qmi_message_voice_get_config_input_unref
(QmiMessageVoiceGetConfigInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_voice_domain_preference (QmiMessageVoiceGetConfigInput *self
,gboolean *value_voice_domain_preference
,GError **error
);
Get the 'Voice Domain Preference' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_voice_domain_preference (QmiMessageVoiceGetConfigInput *self
,gboolean value_voice_domain_preference
,GError **error
);
Set the 'Voice Domain Preference' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_nam_index (QmiMessageVoiceGetConfigInput *self
,gboolean *value_nam_index
,GError **error
);
Get the 'NAM Index' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_nam_index (QmiMessageVoiceGetConfigInput *self
,gboolean value_nam_index
,GError **error
);
Set the 'NAM Index' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_preferred_voice_privacy (QmiMessageVoiceGetConfigInput *self
,gboolean *value_preferred_voice_privacy
,GError **error
);
Get the 'Preferred Voice Privacy' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_preferred_voice_privacy (QmiMessageVoiceGetConfigInput *self
,gboolean value_preferred_voice_privacy
,GError **error
);
Set the 'Preferred Voice Privacy' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_amr_status (QmiMessageVoiceGetConfigInput *self
,gboolean *value_amr_status
,GError **error
);
Get the 'AMR Status' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_amr_status (QmiMessageVoiceGetConfigInput *self
,gboolean value_amr_status
,GError **error
);
Set the 'AMR Status' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_preferred_voice_service_option (QmiMessageVoiceGetConfigInput *self
,gboolean *value_preferred_voice_service_option
,GError **error
);
Get the 'Preferred Voice Service Option' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_preferred_voice_service_option (QmiMessageVoiceGetConfigInput *self
,gboolean value_preferred_voice_service_option
,GError **error
);
Set the 'Preferred Voice Service Option' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_tty_mode (QmiMessageVoiceGetConfigInput *self
,gboolean *value_tty_mode
,GError **error
);
Get the 'TTY Mode' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_tty_mode (QmiMessageVoiceGetConfigInput *self
,gboolean value_tty_mode
,GError **error
);
Set the 'TTY Mode' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_roam_timer (QmiMessageVoiceGetConfigInput *self
,gboolean *value_roam_timer
,GError **error
);
Get the 'Roam Timer' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_roam_timer (QmiMessageVoiceGetConfigInput *self
,gboolean value_roam_timer
,GError **error
);
Set the 'Roam Timer' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_air_timer (QmiMessageVoiceGetConfigInput *self
,gboolean *value_air_timer
,GError **error
);
Get the 'Air Timer' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_air_timer (QmiMessageVoiceGetConfigInput *self
,gboolean value_air_timer
,GError **error
);
Set the 'Air Timer' field in the message.
Since: 1.14
gboolean qmi_message_voice_get_config_input_get_auto_answer (QmiMessageVoiceGetConfigInput *self
,gboolean *value_auto_answer
,GError **error
);
Get the 'Auto Answer' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_input_set_auto_answer (QmiMessageVoiceGetConfigInput *self
,gboolean value_auto_answer
,GError **error
);
Set the 'Auto Answer' field in the message.
Since: 1.14
QmiMessageVoiceGetConfigOutput *
qmi_message_voice_get_config_output_ref
(QmiMessageVoiceGetConfigOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.14
void
qmi_message_voice_get_config_output_unref
(QmiMessageVoiceGetConfigOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_current_voice_domain_preference (QmiMessageVoiceGetConfigOutput *self
,QmiVoiceDomain *value_current_voice_domain_preference
,GError **error
);
Get the 'Current Voice Domain Preference' field from self
.
self |
||
value_current_voice_domain_preference |
a placeholder for the output QmiVoiceDomain, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_current_voice_privacy_preference (QmiMessageVoiceGetConfigOutput *self
,QmiVoicePrivacy *value_current_voice_privacy_preference
,GError **error
);
Get the 'Current Voice Privacy Preference' field from self
.
self |
||
value_current_voice_privacy_preference |
a placeholder for the output QmiVoicePrivacy, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_current_amr_status (QmiMessageVoiceGetConfigOutput *self
,gboolean *value_current_amr_status_gsm
,QmiVoiceWcdmaAmrStatus *value_current_amr_status_wcdma
,GError **error
);
Get the 'Current AMR Status' field from self
.
self |
||
value_current_amr_status_gsm |
a placeholder for the output gboolean, or |
[out][optional] |
value_current_amr_status_wcdma |
a placeholder for the output QmiVoiceWcdmaAmrStatus, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_current_preferred_voice_so (QmiMessageVoiceGetConfigOutput *self
,guint8 *value_current_preferred_voice_so_nam_id
,gboolean *value_current_preferred_voice_so_evrc_capability
,QmiVoiceServiceOption *value_current_preferred_voice_so_home_page_voice_service_option
,QmiVoiceServiceOption *value_current_preferred_voice_so_home_origination_voice_service_option
,QmiVoiceServiceOption *value_current_preferred_voice_so_roaming_origination_voice_service_option
,GError **error
);
Get the 'Current Preferred Voice SO' field from self
.
self |
||
value_current_preferred_voice_so_nam_id |
a placeholder for the output guint8, or |
[out][optional] |
value_current_preferred_voice_so_evrc_capability |
a placeholder for the output gboolean, or |
[out][optional] |
value_current_preferred_voice_so_home_page_voice_service_option |
a placeholder for the output QmiVoiceServiceOption, or |
[out][optional] |
value_current_preferred_voice_so_home_origination_voice_service_option |
a placeholder for the output QmiVoiceServiceOption, or |
[out][optional] |
value_current_preferred_voice_so_roaming_origination_voice_service_option |
a placeholder for the output QmiVoiceServiceOption, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_current_tty_mode (QmiMessageVoiceGetConfigOutput *self
,QmiVoiceTtyMode *value_current_tty_mode
,GError **error
);
Get the 'Current TTY Mode' field from self
.
self |
||
value_current_tty_mode |
a placeholder for the output QmiVoiceTtyMode, or |
[out][optional] |
error |
Return location for error or |
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_roam_timer_count (QmiMessageVoiceGetConfigOutput *self
,guint8 *value_roam_timer_count_nam_id
,guint32 *value_roam_timer_count_roam_timer
,GError **error
);
Get the 'Roam Timer Count' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_air_timer_count (QmiMessageVoiceGetConfigOutput *self
,guint8 *value_air_timer_count_nam_id
,guint32 *value_air_timer_count_air_timer
,GError **error
);
Get the 'Air Timer Count' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_auto_answer_status (QmiMessageVoiceGetConfigOutput *self
,gboolean *value_auto_answer_status
,GError **error
);
Get the 'Auto Answer Status' field from self
.
Since: 1.14
gboolean qmi_message_voice_get_config_output_get_result (QmiMessageVoiceGetConfigOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.14
QmiMessageVoiceGetConfigOutput * qmi_message_voice_get_config_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageVoiceGetConfigOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageVoiceGetConfigOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_voice_get_config_output_unref()
.
Since: 1.34
void qmi_client_voice_get_config (QmiClientVoice *self
,QmiMessageVoiceGetConfigInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Config 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_get_config_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.14
QmiMessageVoiceGetConfigOutput * qmi_client_voice_get_config_finish (QmiClientVoice *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_voice_get_config()
.
self |
||
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageVoiceGetConfigOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_voice_get_config_output_unref()
.
Since: 1.14
typedef struct _QmiMessageVoiceGetConfigInput QmiMessageVoiceGetConfigInput;
The QmiMessageVoiceGetConfigInput structure contains private data and should only be accessed using the provided API.
Since: 1.14
typedef struct _QmiMessageVoiceGetConfigOutput QmiMessageVoiceGetConfigOutput;
The QmiMessageVoiceGetConfigOutput structure contains private data and should only be accessed using the provided API.
Since: 1.14