Top |
VOICE Get All Call Info responseVOICE Get All Call Info response — Methods to manage the VOICE Get All Call Info response. |
GBoxed ├── QmiMessageVoiceGetAllCallInfoOutput ├── QmiMessageVoiceGetAllCallInfoOutputCallInformationCall ╰── QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall
Collection of methods to create requests and parse responses of the VOICE Get All Call Info message.
QmiMessageVoiceGetAllCallInfoOutput *
qmi_message_voice_get_all_call_info_output_ref
(QmiMessageVoiceGetAllCallInfoOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.30.2
void
qmi_message_voice_get_all_call_info_output_unref
(QmiMessageVoiceGetAllCallInfoOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.30.2
gboolean qmi_message_voice_get_all_call_info_output_get_result (QmiMessageVoiceGetAllCallInfoOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.30.2
gboolean qmi_message_voice_get_all_call_info_output_get_call_information (QmiMessageVoiceGetAllCallInfoOutput *self
,GArray **value_call_information
,GError **error
);
Get the 'Call Information' field from self
.
[skip]
self |
||
value_call_information |
a placeholder for the output GArray of QmiMessageVoiceGetAllCallInfoOutputCallInformationCall elements, or |
[out][optional][element-type QmiMessageVoiceGetAllCallInfoOutputCallInformationCall][transfer none] |
error |
Return location for error or |
Since: 1.30.2
gboolean qmi_message_voice_get_all_call_info_output_get_call_information_gir (QmiMessageVoiceGetAllCallInfoOutput *self
,GPtrArray **value_call_information_ptr
,GError **error
);
Get the 'Call Information' field from self
.
Version of qmi_message_voice_get_all_call_info_output_get_call_information()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_voice_get_all_call_info_output_get_call_information]
self |
||
value_call_information_ptr |
a placeholder for the output array of QmiMessageVoiceGetAllCallInfoOutputCallInformationCall elements, or |
[out][optional][element-type QmiMessageVoiceGetAllCallInfoOutputCallInformationCall][transfer none] |
error |
Return location for error or |
Since: 1.32
gboolean qmi_message_voice_get_all_call_info_output_get_remote_party_number (QmiMessageVoiceGetAllCallInfoOutput *self
,GArray **value_remote_party_number
,GError **error
);
Get the 'Remote Party Number' field from self
.
[skip]
self |
||
value_remote_party_number |
a placeholder for the output GArray of QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall elements, or |
[out][optional][element-type QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall][transfer none] |
error |
Return location for error or |
Since: 1.30.2
gboolean qmi_message_voice_get_all_call_info_output_get_remote_party_number_gir (QmiMessageVoiceGetAllCallInfoOutput *self
,GPtrArray **value_remote_party_number_ptr
,GError **error
);
Get the 'Remote Party Number' field from self
.
Version of qmi_message_voice_get_all_call_info_output_get_remote_party_number()
using arrays of pointers to
structs instead of arrays of structs, for easier binding in other languages.
[rename-to qmi_message_voice_get_all_call_info_output_get_remote_party_number]
self |
||
value_remote_party_number_ptr |
a placeholder for the output array of QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall elements, or |
[out][optional][element-type QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall][transfer none] |
error |
Return location for error or |
Since: 1.32
QmiMessageVoiceGetAllCallInfoOutput * qmi_message_voice_get_all_call_info_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessageVoiceGetAllCallInfoOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessageVoiceGetAllCallInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_voice_get_all_call_info_output_unref()
.
Since: 1.34
void qmi_client_voice_get_all_call_info (QmiClientVoice *self
,gpointer unused
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get All Call Info 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_all_call_info_finish()
to get the result of the operation.
self |
||
unused |
|
|
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.2
QmiMessageVoiceGetAllCallInfoOutput * qmi_client_voice_get_all_call_info_finish (QmiClientVoice *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_voice_get_all_call_info()
.
self |
||
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageVoiceGetAllCallInfoOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_voice_get_all_call_info_output_unref()
.
Since: 1.30.2
typedef struct _QmiMessageVoiceGetAllCallInfoOutput QmiMessageVoiceGetAllCallInfoOutput;
The QmiMessageVoiceGetAllCallInfoOutput structure contains private data and should only be accessed using the provided API.
Since: 1.30.2
typedef struct { guint8 id; QmiVoiceCallState state; QmiVoiceCallType type; QmiVoiceCallDirection direction; QmiVoiceCallMode mode; gboolean multipart_indicator; QmiVoiceAls als; } QmiMessageVoiceGetAllCallInfoOutputCallInformationCall;
A QmiMessageVoiceGetAllCallInfoOutputCallInformationCall struct.
guint8 |
a guint8. |
|
QmiVoiceCallState |
||
QmiVoiceCallType |
||
QmiVoiceCallDirection |
||
QmiVoiceCallMode |
||
gboolean |
a gboolean. |
|
QmiVoiceAls |
a QmiVoiceAls. |
Since: 1.30.2
typedef struct { guint8 id; QmiVoicePresentation presentation_indicator; gchar *type; } QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall;
A QmiMessageVoiceGetAllCallInfoOutputRemotePartyNumberCall struct.
Since: 1.30.2