![]() |
![]() |
![]() |
libqmi-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
QmiMessageUimUnblockPinInput; QmiMessageUimUnblockPinOutput; QmiMessageUimUnblockPinInput * qmi_message_uim_unblock_pin_input_new (void
); QmiMessageUimUnblockPinInput * qmi_message_uim_unblock_pin_input_ref (QmiMessageUimUnblockPinInput *self
); void qmi_message_uim_unblock_pin_input_unref (QmiMessageUimUnblockPinInput *self
); gboolean qmi_message_uim_unblock_pin_input_get_response_in_indication_token (QmiMessageUimUnblockPinInput *self
,guint32 *value_response_in_indication_token
,GError **error
); gboolean qmi_message_uim_unblock_pin_input_set_response_in_indication_token (QmiMessageUimUnblockPinInput *self
,guint32 value_response_in_indication_token
,GError **error
); gboolean qmi_message_uim_unblock_pin_input_get_info (QmiMessageUimUnblockPinInput *self
,QmiUimPinId *value_info_pin_id
,const gchar **value_info_puk
,const gchar **value_info_new_pin
,GError **error
); gboolean qmi_message_uim_unblock_pin_input_set_info (QmiMessageUimUnblockPinInput *self
,QmiUimPinId value_info_pin_id
,const gchar *value_info_puk
,const gchar *value_info_new_pin
,GError **error
); gboolean qmi_message_uim_unblock_pin_input_get_session_information (QmiMessageUimUnblockPinInput *self
,QmiUimSessionType *value_session_information_session_type
,const gchar **value_session_information_application_identifier
,GError **error
); gboolean qmi_message_uim_unblock_pin_input_set_session_information (QmiMessageUimUnblockPinInput *self
,QmiUimSessionType value_session_information_session_type
,const gchar *value_session_information_application_identifier
,GError **error
); QmiMessageUimUnblockPinOutput * qmi_message_uim_unblock_pin_output_ref (QmiMessageUimUnblockPinOutput *self
); void qmi_message_uim_unblock_pin_output_unref (QmiMessageUimUnblockPinOutput *self
); gboolean qmi_message_uim_unblock_pin_output_get_result (QmiMessageUimUnblockPinOutput *self
,GError **error
); gboolean qmi_message_uim_unblock_pin_output_get_card_result (QmiMessageUimUnblockPinOutput *self
,guint8 *value_card_result_sw1
,guint8 *value_card_result_sw2
,GError **error
); gboolean qmi_message_uim_unblock_pin_output_get_retries_remaining (QmiMessageUimUnblockPinOutput *self
,guint8 *value_retries_remaining_verify_retries_left
,guint8 *value_retries_remaining_unblock_retries_left
,GError **error
); gboolean qmi_message_uim_unblock_pin_output_get_response_in_indication_token (QmiMessageUimUnblockPinOutput *self
,guint32 *value_response_in_indication_token
,GError **error
); void qmi_client_uim_unblock_pin (QmiClientUim *self
,QmiMessageUimUnblockPinInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); QmiMessageUimUnblockPinOutput * qmi_client_uim_unblock_pin_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
typedef struct _QmiMessageUimUnblockPinInput QmiMessageUimUnblockPinInput;
The QmiMessageUimUnblockPinInput structure contains private data and should only be accessed using the provided API.
typedef struct _QmiMessageUimUnblockPinOutput QmiMessageUimUnblockPinOutput;
The QmiMessageUimUnblockPinOutput structure contains private data and should only be accessed using the provided API.
QmiMessageUimUnblockPinInput * qmi_message_uim_unblock_pin_input_new
(void
);
Allocates a new QmiMessageUimUnblockPinInput.
Returns : |
the newly created QmiMessageUimUnblockPinInput. The returned value should be freed with qmi_message_uim_unblock_pin_input_unref() . |
QmiMessageUimUnblockPinInput * qmi_message_uim_unblock_pin_input_ref
(QmiMessageUimUnblockPinInput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageUimUnblockPinInput. |
Returns : |
the new reference to self . |
void qmi_message_uim_unblock_pin_input_unref
(QmiMessageUimUnblockPinInput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageUimUnblockPinInput. |
gboolean qmi_message_uim_unblock_pin_input_get_response_in_indication_token (QmiMessageUimUnblockPinInput *self
,guint32 *value_response_in_indication_token
,GError **error
);
Get the 'Response In Indication Token' field from self
.
|
a QmiMessageUimUnblockPinInput. |
|
a placeholder for the output guint32, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_uim_unblock_pin_input_set_response_in_indication_token (QmiMessageUimUnblockPinInput *self
,guint32 value_response_in_indication_token
,GError **error
);
Set the 'Response In Indication Token' field in the message.
|
a QmiMessageUimUnblockPinInput. |
|
a guint32. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_uim_unblock_pin_input_get_info (QmiMessageUimUnblockPinInput *self
,QmiUimPinId *value_info_pin_id
,const gchar **value_info_puk
,const gchar **value_info_new_pin
,GError **error
);
Get the 'Info' field from self
.
|
a QmiMessageUimUnblockPinInput. |
|
a placeholder for the output QmiUimPinId, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_uim_unblock_pin_input_set_info (QmiMessageUimUnblockPinInput *self
,QmiUimPinId value_info_pin_id
,const gchar *value_info_puk
,const gchar *value_info_new_pin
,GError **error
);
Set the 'Info' field in the message.
|
a QmiMessageUimUnblockPinInput. |
|
a QmiUimPinId. |
|
a constant string. |
|
a constant string. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
gboolean qmi_message_uim_unblock_pin_input_get_session_information (QmiMessageUimUnblockPinInput *self
,QmiUimSessionType *value_session_information_session_type
,const gchar **value_session_information_application_identifier
,GError **error
);
Get the 'Session Information' field from self
.
|
a QmiMessageUimUnblockPinInput. |
|
a placeholder for the output QmiUimSessionType, or NULL if not required. |
|
a placeholder for the output constant string, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
gboolean qmi_message_uim_unblock_pin_input_set_session_information (QmiMessageUimUnblockPinInput *self
,QmiUimSessionType value_session_information_session_type
,const gchar *value_session_information_application_identifier
,GError **error
);
Set the 'Session Information' field in the message.
|
a QmiMessageUimUnblockPinInput. |
|
a QmiUimSessionType. |
|
a constant string. |
|
Return location for error or NULL . |
Returns : |
TRUE if value was successfully set, FALSE otherwise. |
QmiMessageUimUnblockPinOutput * qmi_message_uim_unblock_pin_output_ref
(QmiMessageUimUnblockPinOutput *self
);
Atomically increments the reference count of self
by one.
|
a QmiMessageUimUnblockPinOutput. |
Returns : |
the new reference to self . |
void qmi_message_uim_unblock_pin_output_unref
(QmiMessageUimUnblockPinOutput *self
);
Atomically decrements the reference count of self
by one.
If the reference count drops to 0, self
is completely disposed.
|
a QmiMessageUimUnblockPinOutput. |
gboolean qmi_message_uim_unblock_pin_output_get_result (QmiMessageUimUnblockPinOutput *self
,GError **error
);
Get the result of the QMI operation.
|
a QmiMessageUimUnblockPinOutput. |
|
Return location for error or NULL . |
Returns : |
TRUE if the QMI operation succeeded, FALSE if error is set. |
gboolean qmi_message_uim_unblock_pin_output_get_card_result (QmiMessageUimUnblockPinOutput *self
,guint8 *value_card_result_sw1
,guint8 *value_card_result_sw2
,GError **error
);
Get the 'Card Result' field from self
.
|
a QmiMessageUimUnblockPinOutput. |
|
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_uim_unblock_pin_output_get_retries_remaining (QmiMessageUimUnblockPinOutput *self
,guint8 *value_retries_remaining_verify_retries_left
,guint8 *value_retries_remaining_unblock_retries_left
,GError **error
);
Get the 'Retries Remaining' field from self
.
|
a QmiMessageUimUnblockPinOutput. |
|
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_uim_unblock_pin_output_get_response_in_indication_token (QmiMessageUimUnblockPinOutput *self
,guint32 *value_response_in_indication_token
,GError **error
);
Get the 'Response In Indication Token' field from self
.
|
a QmiMessageUimUnblockPinOutput. |
|
a placeholder for the output guint32, or NULL if not required. |
|
Return location for error or NULL . |
Returns : |
TRUE if the field is found, FALSE otherwise. |
void qmi_client_uim_unblock_pin (QmiClientUim *self
,QmiMessageUimUnblockPinInput *input
,guint timeout
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously sends a Unblock PIN 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_unblock_pin_finish()
to get the result of the operation.
|
a QmiClientUim. |
|
a QmiMessageUimUnblockPinInput. |
|
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 . |
QmiMessageUimUnblockPinOutput * qmi_client_uim_unblock_pin_finish (QmiClientUim *self
,GAsyncResult *res
,GError **error
);
Finishes an async operation started with qmi_client_uim_unblock_pin()
.
|
a QmiClientUim. |
|
the GAsyncResult obtained from the GAsyncReadyCallback passed to qmi_client_uim_unblock_pin() . |
|
Return location for error or NULL . |
Returns : |
a QmiMessageUimUnblockPinOutput, or NULL if error is set. The returned value should be freed with qmi_message_uim_unblock_pin_output_unref() . |