Top |
GBoxed ├── QmiMessagePbmGetCapabilitiesInput ╰── QmiMessagePbmGetCapabilitiesOutput
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()
.
QmiMessagePbmGetCapabilitiesInput *
qmi_message_pbm_get_capabilities_input_ref
(QmiMessagePbmGetCapabilitiesInput *self
);
Atomically increments the reference count of self
by one.
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.
gboolean qmi_message_pbm_get_capabilities_input_get_phonebook_information (QmiMessagePbmGetCapabilitiesInput *self
,QmiPbmSessionType *phonebook_information_session_type
,QmiPbmPhonebookType *phonebook_information_phonebook_type
,GError **error
);
Get the 'Phonebook Information' field from self
.
self |
||
phonebook_information_session_type |
a placeholder for the output QmiPbmSessionType, or |
|
phonebook_information_phonebook_type |
a placeholder for the output QmiPbmPhonebookType, or |
|
error |
Return location for error or |
gboolean qmi_message_pbm_get_capabilities_input_set_phonebook_information (QmiMessagePbmGetCapabilitiesInput *self
,QmiPbmSessionType phonebook_information_session_type
,QmiPbmPhonebookType phonebook_information_phonebook_type
,GError **error
);
Set the 'Phonebook Information' field in the message.
self |
||
phonebook_information_session_type |
||
phonebook_information_phonebook_type |
||
error |
Return location for error or |
QmiMessagePbmGetCapabilitiesOutput *
qmi_message_pbm_get_capabilities_output_ref
(QmiMessagePbmGetCapabilitiesOutput *self
);
Atomically increments the reference count of self
by one.
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.
gboolean qmi_message_pbm_get_capabilities_output_get_result (QmiMessagePbmGetCapabilitiesOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_pbm_get_capabilities_output_get_capability_basic_information (QmiMessagePbmGetCapabilitiesOutput *self
,QmiPbmSessionType *capability_basic_information_session_type
,QmiPbmPhonebookType *capability_basic_information_phonebook_type
,guint16 *capability_basic_information_used_records
,guint16 *capability_basic_information_maximum_records
,guint8 *capability_basic_information_maximum_number_length
,guint8 *capability_basic_information_maximum_name_length
,GError **error
);
Get the 'Capability Basic Information' field from self
.
self |
||
capability_basic_information_session_type |
a placeholder for the output QmiPbmSessionType, or |
|
capability_basic_information_phonebook_type |
a placeholder for the output QmiPbmPhonebookType, or |
|
capability_basic_information_used_records |
a placeholder for the output guint16, or |
|
capability_basic_information_maximum_records |
a placeholder for the output guint16, or |
|
capability_basic_information_maximum_number_length |
a placeholder for the output guint8, or |
|
capability_basic_information_maximum_name_length |
a placeholder for the output guint8, or |
|
error |
Return location for error or |
gboolean qmi_message_pbm_get_capabilities_output_get_group_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *group_capability_maximum_groups
,guint8 *group_capability_maximum_group_tag_length
,GError **error
);
Get the 'Group Capability' field from self
.
gboolean qmi_message_pbm_get_capabilities_output_get_additional_number_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *additional_number_capability_maximum_additional_numbers
,guint8 *additional_number_capability_maximum_additional_number_length
,guint8 *additional_number_capability_maximum_additional_number_tag_length
,GError **error
);
Get the 'Additional Number Capability' field from self
.
self |
||
additional_number_capability_maximum_additional_numbers |
a placeholder for the output guint8, or |
|
additional_number_capability_maximum_additional_number_length |
a placeholder for the output guint8, or |
|
additional_number_capability_maximum_additional_number_tag_length |
a placeholder for the output guint8, or |
|
error |
Return location for error or |
gboolean qmi_message_pbm_get_capabilities_output_get_email_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *email_capability_maximum_emails
,guint8 *email_capability_maximum_email_address_length
,GError **error
);
Get the 'Email Capability' field from self
.
gboolean qmi_message_pbm_get_capabilities_output_get_second_name_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *second_name_capability_maximum_second_name_length
,GError **error
);
Get the 'Second Name Capability' field from self
.
gboolean qmi_message_pbm_get_capabilities_output_get_hidden_records_capability (QmiMessagePbmGetCapabilitiesOutput *self
,gboolean *hidden_records_capability_supported
,GError **error
);
Get the 'Hidden Records Capability' field from self
.
gboolean qmi_message_pbm_get_capabilities_output_get_grouping_information_alpha_string_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *grouping_information_alpha_string_capability_maximum_records
,guint8 *grouping_information_alpha_string_capability_used_records
,guint8 *grouping_information_alpha_string_capability_maximum_string_length
,GError **error
);
Get the 'Grouping Information Alpha String Capability' field from self
.
self |
||
grouping_information_alpha_string_capability_maximum_records |
a placeholder for the output guint8, or |
|
grouping_information_alpha_string_capability_used_records |
a placeholder for the output guint8, or |
|
grouping_information_alpha_string_capability_maximum_string_length |
a placeholder for the output guint8, or |
|
error |
Return location for error or |
gboolean qmi_message_pbm_get_capabilities_output_get_additional_number_alpha_string_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *additional_number_alpha_string_capability_maximum_records
,guint8 *additional_number_alpha_string_capability_used_records
,guint8 *additional_number_alpha_string_capability_maximum_string_length
,GError **error
);
Get the 'Additional Number Alpha String Capability' field from self
.
self |
||
additional_number_alpha_string_capability_maximum_records |
a placeholder for the output guint8, or |
|
additional_number_alpha_string_capability_used_records |
a placeholder for the output guint8, or |
|
additional_number_alpha_string_capability_maximum_string_length |
a placeholder for the output guint8, or |
|
error |
Return location for error or |
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 |
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()
.
typedef struct _QmiMessagePbmGetCapabilitiesInput QmiMessagePbmGetCapabilitiesInput;
The QmiMessagePbmGetCapabilitiesInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessagePbmGetCapabilitiesOutput QmiMessagePbmGetCapabilitiesOutput;
The QmiMessagePbmGetCapabilitiesOutput structure contains private data and should only be accessed using the provided API.