Top |
VOICE Set Supplementary Service responseVOICE Set Supplementary Service response — Methods to manage the VOICE Set Supplementary Service response. |
GBoxed ├── QmiMessageVoiceSetSupplementaryServiceInput ╰── QmiMessageVoiceSetSupplementaryServiceOutput
Collection of methods to create requests and parse responses of the VOICE Set Supplementary Service message.
QmiMessageVoiceSetSupplementaryServiceInput *
qmi_message_voice_set_supplementary_service_input_new
(void
);
Allocates a new QmiMessageVoiceSetSupplementaryServiceInput.
the newly created QmiMessageVoiceSetSupplementaryServiceInput. The returned value should be freed with qmi_message_voice_set_supplementary_service_input_unref()
.
Since: 1.30
QmiMessageVoiceSetSupplementaryServiceInput *
qmi_message_voice_set_supplementary_service_input_ref
(QmiMessageVoiceSetSupplementaryServiceInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_voice_set_supplementary_service_input_unref
(QmiMessageVoiceSetSupplementaryServiceInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.30
gboolean qmi_message_voice_set_supplementary_service_input_get_supplementary_service_information (QmiMessageVoiceSetSupplementaryServiceInput *self
,QmiVoiceSupplementaryServiceAction *value_supplementary_service_information_supplementary_service_action
,QmiVoiceSupplementaryServiceReason *value_supplementary_service_information_supplementary_service_reason
,GError **error
);
Get the 'Supplementary Service Information' field from self
.
self |
||
value_supplementary_service_information_supplementary_service_action |
a placeholder for the output QmiVoiceSupplementaryServiceAction, or |
[out][optional] |
value_supplementary_service_information_supplementary_service_reason |
a placeholder for the output QmiVoiceSupplementaryServiceReason, or |
[out][optional] |
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_voice_set_supplementary_service_input_set_supplementary_service_information (QmiMessageVoiceSetSupplementaryServiceInput *self
,QmiVoiceSupplementaryServiceAction value_supplementary_service_information_supplementary_service_action
,QmiVoiceSupplementaryServiceReason value_supplementary_service_information_supplementary_service_reason
,GError **error
);
Set the 'Supplementary Service Information' field in the message.
self |
||
value_supplementary_service_information_supplementary_service_action |
||
value_supplementary_service_information_supplementary_service_reason |
||
error |
Return location for error or |
Since: 1.30
QmiMessageVoiceSetSupplementaryServiceOutput *
qmi_message_voice_set_supplementary_service_output_ref
(QmiMessageVoiceSetSupplementaryServiceOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30
void
qmi_message_voice_set_supplementary_service_output_unref
(QmiMessageVoiceSetSupplementaryServiceOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.30
gboolean qmi_message_voice_set_supplementary_service_output_get_result (QmiMessageVoiceSetSupplementaryServiceOutput *self
,GError **error
);
Get the result of the QMI operation.
self |
a QmiMessageVoiceSetSupplementaryServiceOutput. |
|
error |
Return location for error or |
Since: 1.30
gboolean qmi_message_voice_set_supplementary_service_output_get_service_status (QmiMessageVoiceSetSupplementaryServiceOutput *self
,gboolean *value_service_status_active
,gboolean *value_service_status_provisioned
,GError **error
);
Get the 'Service Status' field from self
.
Since: 1.30
QmiMessageVoiceSetSupplementaryServiceOutput * qmi_message_voice_set_supplementary_service_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageVoiceSetSupplementaryServiceOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageVoiceSetSupplementaryServiceOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_voice_set_supplementary_service_output_unref()
.
Since: 1.34
void qmi_client_voice_set_supplementary_service (QmiClientVoice *self
,QmiMessageVoiceSetSupplementaryServiceInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Set Supplementary Service 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_set_supplementary_service_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.30
QmiMessageVoiceSetSupplementaryServiceOutput * qmi_client_voice_set_supplementary_service_finish (QmiClientVoice *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_voice_set_supplementary_service()
.
self |
||
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageVoiceSetSupplementaryServiceOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_voice_set_supplementary_service_output_unref()
.
Since: 1.30
typedef struct _QmiMessageVoiceSetSupplementaryServiceInput QmiMessageVoiceSetSupplementaryServiceInput;
The QmiMessageVoiceSetSupplementaryServiceInput structure contains private data and should only be accessed using the provided API.
Since: 1.30
typedef struct _QmiMessageVoiceSetSupplementaryServiceOutput QmiMessageVoiceSetSupplementaryServiceOutput;
The QmiMessageVoiceSetSupplementaryServiceOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30