libqmi-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessagePbmGetCapabilitiesInput; QmiMessagePbmGetCapabilitiesOutput; QmiMessagePbmGetCapabilitiesInput * qmi_message_pbm_get_capabilities_input_new (void
); QmiMessagePbmGetCapabilitiesInput * qmi_message_pbm_get_capabilities_input_ref (QmiMessagePbmGetCapabilitiesInput *self
); void qmi_message_pbm_get_capabilities_input_unref (QmiMessagePbmGetCapabilitiesInput *self
); gboolean qmi_message_pbm_get_capabilities_input_get_phonebook_information (QmiMessagePbmGetCapabilitiesInput *self
,QmiPbmSessionType *phonebook_information_session_type
,QmiPbmPhonebookType *phonebook_information_phonebook_type
,GError **error
); gboolean qmi_message_pbm_get_capabilities_input_set_phonebook_information (QmiMessagePbmGetCapabilitiesInput *self
,QmiPbmSessionType phonebook_information_session_type
,QmiPbmPhonebookType phonebook_information_phonebook_type
,GError **error
); QmiMessagePbmGetCapabilitiesOutput * qmi_message_pbm_get_capabilities_output_ref (QmiMessagePbmGetCapabilitiesOutput *self
); void qmi_message_pbm_get_capabilities_output_unref (QmiMessagePbmGetCapabilitiesOutput *self
); gboolean qmi_message_pbm_get_capabilities_output_get_result (QmiMessagePbmGetCapabilitiesOutput *self
,GError **error
); 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
); 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
); 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
); 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
); gboolean qmi_message_pbm_get_capabilities_output_get_second_name_capability (QmiMessagePbmGetCapabilitiesOutput *self
,guint8 *second_name_capability_maximum_second_name_length
,GError **error
); gboolean qmi_message_pbm_get_capabilities_output_get_hidden_records_capability (QmiMessagePbmGetCapabilitiesOutput *self
,gboolean *hidden_records_capability_supported
,GError **error
); 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
); 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
); void qmi_client_pbm_get_capabilities (QmiClientPbm *self
,QmiMessagePbmGetCapabilitiesInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessagePbmGetCapabilitiesOutput * qmi_client_pbm_get_capabilities_finish (QmiClientPbm *self
,GAsyncResult *res
,GError **error
);
GBoxed +----QmiMessagePbmGetCapabilitiesInput
GBoxed +----QmiMessagePbmGetCapabilitiesOutput
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.
QmiMessagePbmGetCapabilitiesInput * qmi_message_pbm_get_capabilities_input_new
(void
);
Allocates a new QmiMessagePbmGetCapabilitiesInput.
Returns : |
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.
|
a QmiMessagePbmGetCapabilitiesInput. |
Returns : |
the new reference to self . |
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.
|
a QmiMessagePbmGetCapabilitiesInput. |
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
.
|
a QmiMessagePbmGetCapabilitiesInput. |
|
a placeholder for the output QmiPbmSessionType, or NULL if not required. |
|
a placeholder for the output QmiPbmPhonebookType, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiMessagePbmGetCapabilitiesInput. |
|
a QmiPbmSessionType. |
|
a QmiPbmPhonebookType. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessagePbmGetCapabilitiesOutput * qmi_message_pbm_get_capabilities_output_ref
(QmiMessagePbmGetCapabilitiesOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessagePbmGetCapabilitiesOutput. |
Returns : |
the new reference to self . |
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.
|
a QmiMessagePbmGetCapabilitiesOutput. |
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
.
|
a QmiMessagePbmGetCapabilitiesOutput. |
|
a placeholder for the output QmiPbmSessionType, or NULL if not required. |
|
a placeholder for the output QmiPbmPhonebookType, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint16, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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
.
|
a QmiMessagePbmGetCapabilitiesOutput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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
.
|
a QmiMessagePbmGetCapabilitiesOutput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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
.
|
a QmiMessagePbmGetCapabilitiesOutput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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
.
|
a QmiMessagePbmGetCapabilitiesOutput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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
.
|
a QmiMessagePbmGetCapabilitiesOutput. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
a placeholder for the output guint8, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
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.
|
a QmiClientPbm. |
|
a QmiMessagePbmGetCapabilitiesInput. |
|
maximum time to wait for the method to complete, in seconds. |
|
a GCancellable or NULL . |
|
a GAsyncReadyCallback to call when the request is satisfied. |
|
user data to pass to callback . |
QmiMessagePbmGetCapabilitiesOutput * qmi_client_pbm_get_capabilities_finish (QmiClientPbm *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_pbm_get_capabilities()
.
|
a QmiClientPbm. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_pbm_get_capabilities() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessagePbmGetCapabilitiesOutput, or NULL if error is set. The returned value should be freed with qmi_message_pbm_get_capabilities_output_unref() . |