| libqmi-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
QmiMessagePbmGetAllCapabilitiesOutput; QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement; QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement; QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement; QmiMessagePbmGetAllCapabilitiesOutput * qmi_message_pbm_get_all_capabilities_output_ref (QmiMessagePbmGetAllCapabilitiesOutput *self); void qmi_message_pbm_get_all_capabilities_output_unref (QmiMessagePbmGetAllCapabilitiesOutput *self); gboolean qmi_message_pbm_get_all_capabilities_output_get_result (QmiMessagePbmGetAllCapabilitiesOutput *self,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_capability_basic_information (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **capability_basic_information,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_group_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **group_capability,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_additional_number_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **additional_number_capability,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_email_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **email_capability,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_second_name_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **second_name_capability,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_hidden_records_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **hidden_records_capability,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_grouping_information_alpha_string_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **grouping_information_alpha_string_capability,GError **error); gboolean qmi_message_pbm_get_all_capabilities_output_get_additional_number_alpha_string_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **additional_number_alpha_string_capability,GError **error); void qmi_client_pbm_get_all_capabilities (QmiClientPbm *self,gpointer unused,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); QmiMessagePbmGetAllCapabilitiesOutput * qmi_client_pbm_get_all_capabilities_finish (QmiClientPbm *self,GAsyncResult *res,GError **error);
typedef struct _QmiMessagePbmGetAllCapabilitiesOutput QmiMessagePbmGetAllCapabilitiesOutput;
The QmiMessagePbmGetAllCapabilitiesOutput structure contains private data and should only be accessed using the provided API.
typedef struct {
    QmiPbmPhonebookType phonebook_type;
    guint16 used_records;
    guint16 maximum_records;
    guint8 maximum_number_length;
    guint8 maximum_name_length;
} QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement;
A QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement struct.
QmiPbmPhonebookType   | 
a QmiPbmPhonebookType. | 
guint16   | 
a guint16. | 
guint16   | 
a guint16. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
typedef struct {
    QmiPbmSessionType session_type;
    GArray * phonebooks;
} QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement;
A QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
GArray *  | 
a GArray of QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement elements. | 
typedef struct {
    QmiPbmSessionType session_type;
    guint8 maximum_groups;
    guint8 maximum_group_tag_length;
} QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
typedef struct {
    QmiPbmSessionType session_type;
    guint8 maximum_additional_numbers;
    guint8 maximum_additional_number_length;
    guint8 maximum_additional_number_tag_length;
} QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
typedef struct {
    QmiPbmSessionType session_type;
    guint8 maximum_emails;
    guint8 maximum_email_address_length;
} QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
typedef struct {
    QmiPbmSessionType session_type;
    guint8 maximum_second_name_length;
} QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
guint8   | 
a guint8. | 
typedef struct {
    QmiPbmSessionType session_type;
    gboolean supported;
} QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
gboolean   | 
a gboolean. | 
typedef struct {
    QmiPbmSessionType session_type;
    guint8 maximum_records;
    guint8 used_records;
    guint8 maximum_string_length;
} QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
typedef struct {
    QmiPbmSessionType session_type;
    guint8 maximum_records;
    guint8 used_records;
    guint8 maximum_string_length;
} QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement;
A QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement struct.
QmiPbmSessionType   | 
a QmiPbmSessionType. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
guint8   | 
a guint8. | 
QmiMessagePbmGetAllCapabilitiesOutput * qmi_message_pbm_get_all_capabilities_output_ref
                                                        (QmiMessagePbmGetAllCapabilitiesOutput *self);
Atomically increments the reference count of self by one.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
Returns :  | 
the new reference to self. | 
void                qmi_message_pbm_get_all_capabilities_output_unref
                                                        (QmiMessagePbmGetAllCapabilitiesOutput *self);
Atomically decrements the reference count of self by one.
If the reference count drops to 0, self is completely disposed.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_result (QmiMessagePbmGetAllCapabilitiesOutput *self,GError **error);
Get the result of the QMI operation.
gboolean qmi_message_pbm_get_all_capabilities_output_get_capability_basic_information (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **capability_basic_information,GError **error);
Get the 'Capability Basic Information' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_group_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **group_capability,GError **error);
Get the 'Group Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_additional_number_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **additional_number_capability,GError **error);
Get the 'Additional Number Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_email_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **email_capability,GError **error);
Get the 'Email Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_second_name_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **second_name_capability,GError **error);
Get the 'Second Name Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_hidden_records_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **hidden_records_capability,GError **error);
Get the 'Hidden Records Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_grouping_information_alpha_string_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **grouping_information_alpha_string_capability,GError **error);
Get the 'Grouping Information Alpha String Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
gboolean qmi_message_pbm_get_all_capabilities_output_get_additional_number_alpha_string_capability (QmiMessagePbmGetAllCapabilitiesOutput *self,GArray **additional_number_alpha_string_capability,GError **error);
Get the 'Additional Number Alpha String Capability' field from self.
  | 
a QmiMessagePbmGetAllCapabilitiesOutput. | 
  | 
a placeholder for the output GArray of QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement elements, or NULL if not required. Do not free it, it is owned by self. | 
  | 
Return location for error or NULL. | 
Returns :  | 
TRUE if the field is found, FALSE otherwise. | 
void qmi_client_pbm_get_all_capabilities (QmiClientPbm *self,gpointer unused,guint timeout,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously sends a Get All 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_all_capabilities_finish() to get the result of the operation.
  | 
a QmiClientPbm. | 
  | 
NULL. This message doesn't have any input bundle. | 
  | 
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. | 
QmiMessagePbmGetAllCapabilitiesOutput * qmi_client_pbm_get_all_capabilities_finish (QmiClientPbm *self,GAsyncResult *res,GError **error);
Finishes an async operation started with qmi_client_pbm_get_all_capabilities().
  | 
a QmiClientPbm. | 
  | 
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_pbm_get_all_capabilities(). | 
  | 
Return location for error or NULL. | 
Returns :  | 
a QmiMessagePbmGetAllCapabilitiesOutput, or NULL if error is set. The returned value should be freed with qmi_message_pbm_get_all_capabilities_output_unref(). |