Top |
PBM Get Capabilities responsePBM Get Capabilities response — Methods to manage the PBM Get Capabilities response. |
GBoxed ├── QmiMessagePbmGetCapabilitiesInput ╰── QmiMessagePbmGetCapabilitiesOutput
Collection of methods to create requests and parse responses of the PBM Get Capabilities message.
QmiMessagePbmGetCapabilitiesInput *
qmi_message_pbm_get_capabilities_input_new
(void
);
Allocates a new QmiMessagePbmGetCapabilitiesInput.
the newly created QmiMessagePbmGetCapabilitiesInput. The returned value should be freed with qmi_message_pbm_get_capabilities_input_unref()
.
Since: 1.6
QmiMessagePbmGetCapabilitiesInput *
qmi_message_pbm_get_capabilities_input_ref
(QmiMessagePbmGetCapabilitiesInput *self
);
Atomically increments the reference count of self
by one.
Since: 1.6
void
qmi_message_pbm_get_capabilities_input_unref
(QmiMessagePbmGetCapabilitiesInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_input_get_phonebook_information (QmiMessagePbmGetCapabilitiesInput *self
,QmiPbmSessionType *value_phonebook_information_session_type
,QmiPbmPhonebookType *value_phonebook_information_phonebook_type
,GError **error
);
Get the 'Phonebook Information' field from self
.
self |
||
value_phonebook_information_session_type |
a placeholder for the output QmiPbmSessionType, or |
[out][optional] |
value_phonebook_information_phonebook_type |
a placeholder for the output QmiPbmPhonebookType, or |
[out][optional] |
error |
Return location for error or |
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_input_set_phonebook_information (QmiMessagePbmGetCapabilitiesInput *self
,QmiPbmSessionType value_phonebook_information_session_type
,QmiPbmPhonebookType value_phonebook_information_phonebook_type
,GError **error
);
Set the 'Phonebook Information' field in the message.
self |
||
value_phonebook_information_session_type |
||
value_phonebook_information_phonebook_type |
||
error |
Return location for error or |
Since: 1.6
QmiMessagePbmGetCapabilitiesOutput *
qmi_message_pbm_get_capabilities_output_ref
(QmiMessagePbmGetCapabilitiesOutput *self
);
Atomically increments the reference count of self
by one.
Since: 1.6
void
qmi_message_pbm_get_capabilities_output_unref
(QmiMessagePbmGetCapabilitiesOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_result (QmiMessagePbmGetCapabilitiesOutput *self
,GError **error
);
Get the result of the QMI operation.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_capability_basic_information (QmiMessagePbmGetCapabilitiesOutput *self
,QmiPbmSessionType *value_capability_basic_information_session_type
,QmiPbmPhonebookType *value_capability_basic_information_phonebook_type
,guint16 *value_capability_basic_information_used_records
,guint16 *value_capability_basic_information_maximum_records
,guint8 *value_capability_basic_information_maximum_number_length
,guint8 *value_capability_basic_information_maximum_name_length
,GError **error
);
Get the 'Capability Basic Information' field from self
.
self |
||
value_capability_basic_information_session_type |
a placeholder for the output QmiPbmSessionType, or |
[out][optional] |
value_capability_basic_information_phonebook_type |
a placeholder for the output QmiPbmPhonebookType, or |
[out][optional] |
value_capability_basic_information_used_records |
a placeholder for the output guint16, or |
[out][optional] |
value_capability_basic_information_maximum_records |
a placeholder for the output guint16, or |
[out][optional] |
value_capability_basic_information_maximum_number_length |
a placeholder for the output guint8, or |
[out][optional] |
value_capability_basic_information_maximum_name_length |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_group_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *value_group_capability_maximum_groups
,guint8 *value_group_capability_maximum_group_tag_length
,GError **error
);
Get the 'Group Capability' field from self
.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_additional_number_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *value_additional_number_capability_maximum_additional_numbers
,guint8 *value_additional_number_capability_maximum_additional_number_length
,guint8 *value_additional_number_capability_maximum_additional_number_tag_length
,GError **error
);
Get the 'Additional Number Capability' field from self
.
self |
||
value_additional_number_capability_maximum_additional_numbers |
a placeholder for the output guint8, or |
[out][optional] |
value_additional_number_capability_maximum_additional_number_length |
a placeholder for the output guint8, or |
[out][optional] |
value_additional_number_capability_maximum_additional_number_tag_length |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_email_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *value_email_capability_maximum_emails
,guint8 *value_email_capability_maximum_email_address_length
,GError **error
);
Get the 'Email Capability' field from self
.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_second_name_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *value_second_name_capability_maximum_second_name_length
,GError **error
);
Get the 'Second Name Capability' field from self
.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_hidden_records_capability (QmiMessagePbmGetCapabilitiesOutput *self
,gboolean *value_hidden_records_capability_supported
,GError **error
);
Get the 'Hidden Records Capability' field from self
.
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_grouping_information_alpha_string_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *value_grouping_information_alpha_string_capability_maximum_records
,guint8 *value_grouping_information_alpha_string_capability_used_records
,guint8 *value_grouping_information_alpha_string_capability_maximum_string_length
,GError **error
);
Get the 'Grouping Information Alpha String Capability' field from self
.
self |
||
value_grouping_information_alpha_string_capability_maximum_records |
a placeholder for the output guint8, or |
[out][optional] |
value_grouping_information_alpha_string_capability_used_records |
a placeholder for the output guint8, or |
[out][optional] |
value_grouping_information_alpha_string_capability_maximum_string_length |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.6
gboolean qmi_message_pbm_get_capabilities_output_get_additional_number_alpha_string_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *value_additional_number_alpha_string_capability_maximum_records
,guint8 *value_additional_number_alpha_string_capability_used_records
,guint8 *value_additional_number_alpha_string_capability_maximum_string_length
,GError **error
);
Get the 'Additional Number Alpha String Capability' field from self
.
self |
||
value_additional_number_alpha_string_capability_maximum_records |
a placeholder for the output guint8, or |
[out][optional] |
value_additional_number_alpha_string_capability_used_records |
a placeholder for the output guint8, or |
[out][optional] |
value_additional_number_alpha_string_capability_maximum_string_length |
a placeholder for the output guint8, or |
[out][optional] |
error |
Return location for error or |
Since: 1.6
QmiMessagePbmGetCapabilitiesOutput * qmi_message_pbm_get_capabilities_response_parse (QmiMessage *message
,GError **error
);
Parses a QmiMessage and builds a QmiMessagePbmGetCapabilitiesOutput out of it. The operation fails if the message is of the wrong type.
a QmiMessagePbmGetCapabilitiesOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_pbm_get_capabilities_output_unref()
.
Since: 1.34
void qmi_client_pbm_get_capabilities (QmiClientPbm *self
,QmiMessagePbmGetCapabilitiesInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get Capabilities 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_pbm_get_capabilities_finish()
to get the result of the operation.
self |
a QmiClientPbm. |
|
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.6
QmiMessagePbmGetCapabilitiesOutput * qmi_client_pbm_get_capabilities_finish (QmiClientPbm *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_pbm_get_capabilities()
.
self |
a QmiClientPbm. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessagePbmGetCapabilitiesOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_pbm_get_capabilities_output_unref()
.
Since: 1.6
typedef struct _QmiMessagePbmGetCapabilitiesInput QmiMessagePbmGetCapabilitiesInput;
The QmiMessagePbmGetCapabilitiesInput structure contains private data and should only be accessed using the provided API.
Since: 1.6
typedef struct _QmiMessagePbmGetCapabilitiesOutput QmiMessagePbmGetCapabilitiesOutput;
The QmiMessagePbmGetCapabilitiesOutput structure contains private data and should only be accessed using the provided API.
Since: 1.6