Top |
GBoxed ├── QmiMessageUimGetFileAttributesInput ╰── QmiMessageUimGetFileAttributesOutput
QmiMessageUimGetFileAttributesInput *
qmi_message_uim_get_file_attributes_input_new
(void
);
Allocates a new QmiMessageUimGetFileAttributesInput.
the newly created QmiMessageUimGetFileAttributesInput. The returned value should be freed with qmi_message_uim_get_file_attributes_input_unref()
.
QmiMessageUimGetFileAttributesInput *
qmi_message_uim_get_file_attributes_input_ref
(QmiMessageUimGetFileAttributesInput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_uim_get_file_attributes_input_unref
(QmiMessageUimGetFileAttributesInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_uim_get_file_attributes_input_get_response_in_indication_token (QmiMessageUimGetFileAttributesInput *self
,guint32 *response_in_indication_token
,GError **error
);
Get the 'Response In Indication Token' field from self
.
gboolean qmi_message_uim_get_file_attributes_input_set_response_in_indication_token (QmiMessageUimGetFileAttributesInput *self
,guint32 response_in_indication_token
,GError **error
);
Set the 'Response In Indication Token' field in the message.
gboolean qmi_message_uim_get_file_attributes_input_get_file (QmiMessageUimGetFileAttributesInput *self
,guint16 *file_file_id
,GArray **file_file_path
,GError **error
);
Get the 'File' field from self
.
gboolean qmi_message_uim_get_file_attributes_input_set_file (QmiMessageUimGetFileAttributesInput *self
,guint16 file_file_id
,GArray *file_file_path
,GError **error
);
Set the 'File' field in the message.
gboolean qmi_message_uim_get_file_attributes_input_get_session_information (QmiMessageUimGetFileAttributesInput *self
,QmiUimSessionType *session_information_session_type
,const gchar **session_information_application_identifier
,GError **error
);
Get the 'Session Information' field from self
.
self |
||
session_information_session_type |
a placeholder for the output QmiUimSessionType, or |
|
session_information_application_identifier |
a placeholder for the output constant string, or |
|
error |
Return location for error or |
gboolean qmi_message_uim_get_file_attributes_input_set_session_information (QmiMessageUimGetFileAttributesInput *self
,QmiUimSessionType session_information_session_type
,const gchar *session_information_application_identifier
,GError **error
);
Set the 'Session Information' field in the message.
self |
||
session_information_session_type |
||
session_information_application_identifier |
a constant string. |
|
error |
Return location for error or |
QmiMessageUimGetFileAttributesOutput *
qmi_message_uim_get_file_attributes_output_ref
(QmiMessageUimGetFileAttributesOutput *self
);
Atomically increments the reference count of self
by one.
void
qmi_message_uim_get_file_attributes_output_unref
(QmiMessageUimGetFileAttributesOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
gboolean qmi_message_uim_get_file_attributes_output_get_result (QmiMessageUimGetFileAttributesOutput *self
,GError **error
);
Get the result of the QMI operation.
gboolean qmi_message_uim_get_file_attributes_output_get_card_result (QmiMessageUimGetFileAttributesOutput *self
,guint8 *card_result_sw1
,guint8 *card_result_sw2
,GError **error
);
Get the 'Card result' field from self
.
gboolean qmi_message_uim_get_file_attributes_output_get_file_attributes (QmiMessageUimGetFileAttributesOutput *self
,guint16 *file_attributes_file_size
,guint16 *file_attributes_file_id
,QmiUimFileType *file_attributes_file_type
,guint16 *file_attributes_record_size
,guint16 *file_attributes_record_count
,QmiUimSecurityAttributeLogic *file_attributes_read_security_attributes_logic
,QmiUimSecurityAttribute *file_attributes_read_security_attributes
,QmiUimSecurityAttributeLogic *file_attributes_write_security_attributes_logic
,QmiUimSecurityAttribute *file_attributes_write_security_attributes
,QmiUimSecurityAttributeLogic *file_attributes_increase_security_attributes_logic
,QmiUimSecurityAttribute *file_attributes_increase_security_attributes
,QmiUimSecurityAttributeLogic *file_attributes_deactivate_security_attributes_logic
,QmiUimSecurityAttribute *file_attributes_deactivate_security_attributes
,QmiUimSecurityAttributeLogic *file_attributes_activate_security_attributes_logic
,QmiUimSecurityAttribute *file_attributes_activate_security_attributes
,GArray **file_attributes_raw_data
,GError **error
);
Get the 'File Attributes' field from self
.
self |
||
file_attributes_file_size |
a placeholder for the output guint16, or |
|
file_attributes_file_id |
a placeholder for the output guint16, or |
|
file_attributes_file_type |
a placeholder for the output QmiUimFileType, or |
|
file_attributes_record_size |
a placeholder for the output guint16, or |
|
file_attributes_record_count |
a placeholder for the output guint16, or |
|
file_attributes_read_security_attributes_logic |
a placeholder for the output QmiUimSecurityAttributeLogic, or |
|
file_attributes_read_security_attributes |
a placeholder for the output QmiUimSecurityAttribute, or |
|
file_attributes_write_security_attributes_logic |
a placeholder for the output QmiUimSecurityAttributeLogic, or |
|
file_attributes_write_security_attributes |
a placeholder for the output QmiUimSecurityAttribute, or |
|
file_attributes_increase_security_attributes_logic |
a placeholder for the output QmiUimSecurityAttributeLogic, or |
|
file_attributes_increase_security_attributes |
a placeholder for the output QmiUimSecurityAttribute, or |
|
file_attributes_deactivate_security_attributes_logic |
a placeholder for the output QmiUimSecurityAttributeLogic, or |
|
file_attributes_deactivate_security_attributes |
a placeholder for the output QmiUimSecurityAttribute, or |
|
file_attributes_activate_security_attributes_logic |
a placeholder for the output QmiUimSecurityAttributeLogic, or |
|
file_attributes_activate_security_attributes |
a placeholder for the output QmiUimSecurityAttribute, or |
|
file_attributes_raw_data |
a placeholder for the output GArray of guint8 elements, or |
|
error |
Return location for error or |
gboolean qmi_message_uim_get_file_attributes_output_get_response_in_indication_token (QmiMessageUimGetFileAttributesOutput *self
,guint32 *response_in_indication_token
,GError **error
);
Get the 'Response In Indication Token' field from self
.
void qmi_client_uim_get_file_attributes (QmiClientUim *self
,QmiMessageUimGetFileAttributesInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Get File Attributes 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_uim_get_file_attributes_finish()
to get the result of the operation.
self |
a QmiClientUim. |
|
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 |
QmiMessageUimGetFileAttributesOutput * qmi_client_uim_get_file_attributes_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_uim_get_file_attributes()
.
self |
a QmiClientUim. |
|
res |
the GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
a QmiMessageUimGetFileAttributesOutput, or NULL
if error
is set. The returned value should be freed with qmi_message_uim_get_file_attributes_output_unref()
.
typedef struct _QmiMessageUimGetFileAttributesInput QmiMessageUimGetFileAttributesInput;
The QmiMessageUimGetFileAttributesInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageUimGetFileAttributesOutput QmiMessageUimGetFileAttributesOutput;
The QmiMessageUimGetFileAttributesOutput structure contains private data and should only be accessed using the provided API.