Tizen Native API
5.5
|
The Autofill client API provides the functions for sending data to the autofill service and receiving the data previously entered by the user from the autofill service.
#include <autofill.h>
Autofill is a feature that allows you to fill out the data previously entered by the user such as email, account and address in a text input field. email, account and address in a text input field. The Autofill client API provides the functions for sending data to the autofill service and receiving the data previously entered by the user from the autofill service.
Functions | |
int | autofill_create (autofill_h *ah) |
Creates a handle for autofill. | |
int | autofill_destroy (autofill_h ah) |
Destroys an autofill. | |
int | autofill_connect (autofill_h ah, autofill_connection_status_changed_cb callback, void *user_data) |
Connects to autofill daemon. | |
int | autofill_auth_info_request (autofill_h ah, autofill_view_info_h vi) |
Requests of authentication information. | |
int | autofill_auth_info_set_received_cb (autofill_h ah, autofill_auth_info_received_cb callback, void *user_data) |
Sets the callback to receive the authentication information. | |
int | autofill_auth_info_unset_received_cb (autofill_h ah) |
Unsets the callback to receive the authentication information. | |
int | autofill_fill_request (autofill_h ah, autofill_view_info_h vi) |
Sends fill request to fill out each input form. | |
int | autofill_cancel_fill_request (autofill_h ah, autofill_view_info_h vi) |
Cancels autofill request to fill out each input form. | |
int | autofill_fill_response_set_received_cb (autofill_h ah, autofill_fill_response_received_cb callback, void *user_data) |
Sets the callback to receive autofill fill response. | |
int | autofill_fill_response_unset_received_cb (autofill_h ah) |
Unsets the callback to receive autofill fill response. | |
int | autofill_commit (autofill_h ah, autofill_save_view_info_h vi) |
Sends the autofill save view info. | |
int | autofill_error_info_set_received_cb (autofill_h ah, autofill_error_info_received_cb callback, void *user_data) |
Sets the callback to receive the error information. | |
int | autofill_error_info_unset_received_cb (autofill_h ah) |
Unsets the callback to receive the error information. | |
Typedefs | |
typedef struct autofill_s * | autofill_h |
The autofill handle. | |
typedef void(* | autofill_connection_status_changed_cb )(autofill_h ah, autofill_connection_status_e status, void *user_data) |
Called when the connection status is changed. | |
typedef void(* | autofill_fill_response_received_cb )(autofill_h ah, autofill_fill_response_h fill_response_h, void *user_data) |
Called when receiving autofill fill response data. | |
typedef void(* | autofill_auth_info_received_cb )(autofill_h ah, autofill_auth_info_h auth_info, void *user_data) |
Called when receiving the authentication information. | |
typedef void(* | autofill_error_info_received_cb )(autofill_h ah, autofill_error_info_h error_info, void *user_data) |
Called when receiving the error information. |
typedef void(* autofill_auth_info_received_cb)(autofill_h ah, autofill_auth_info_h auth_info, void *user_data) |
Called when receiving the authentication information.
[in] | ah | The autofill handle |
[in] | auth_info | The autofill authentication information handle |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_connection_status_changed_cb)(autofill_h ah, autofill_connection_status_e status, void *user_data) |
Called when the connection status is changed.
[in] | ah | The autofill handle |
[in] | status | The connection status |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_error_info_received_cb)(autofill_h ah, autofill_error_info_h error_info, void *user_data) |
Called when receiving the error information.
[in] | ah | The autofill handle |
[in] | error_info | The autofill error information handle |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_fill_response_received_cb)(autofill_h ah, autofill_fill_response_h fill_response_h, void *user_data) |
Called when receiving autofill fill response data.
[in] | ah | The autofill handle |
[in] | fill_response_h | The autofill fill response handle |
[in] | user_data | The user data to be passed to the callback function |
typedef struct autofill_s* autofill_h |
The autofill handle.
int autofill_auth_info_request | ( | autofill_h | ah, |
autofill_view_info_h | vi | ||
) |
Requests of authentication information.
[in] | ah | The autofill handle |
[in] | vi | The autofill view info handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
AUTOFILL_ERROR_OPERATION_FAILED | Operation failure |
int autofill_auth_info_set_received_cb | ( | autofill_h | ah, |
autofill_auth_info_received_cb | callback, | ||
void * | user_data | ||
) |
Sets the callback to receive the authentication information.
[in] | ah | The autofill handle |
[in] | callback | The callback function to register |
[in] | user_data | The user data to be passed to the callback function |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
Unsets the callback to receive the authentication information.
[in] | ah | The autofill handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
int autofill_cancel_fill_request | ( | autofill_h | ah, |
autofill_view_info_h | vi | ||
) |
Cancels autofill request to fill out each input form.
[in] | ah | The autofill handle |
[in] | vi | The autofill view info handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
AUTOFILL_ERROR_OPERATION_FAILED | Operation failure |
int autofill_commit | ( | autofill_h | ah, |
autofill_save_view_info_h | vi | ||
) |
Sends the autofill save view info.
[in] | ah | The autofill handle |
[in] | vi | The autofill save view info handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
AUTOFILL_ERROR_OPERATION_FAILED | Operation failure |
int autofill_connect | ( | autofill_h | ah, |
autofill_connection_status_changed_cb | callback, | ||
void * | user_data | ||
) |
Connects to autofill daemon.
[in] | ah | The autofill handle |
[in] | callback | The callback function to register |
[in] | user_data | The user data to be passed to the callback function |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
AUTOFILL_ERROR_OPERATION_FAILED | Operation failure |
int autofill_create | ( | autofill_h * | ah | ) |
Creates a handle for autofill.
[out] | ah | The autofill handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
AUTOFILL_ERROR_OUT_OF_MEMORY | Out of memory |
int autofill_destroy | ( | autofill_h | ah | ) |
Destroys an autofill.
[in] | ah | The autofill handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
int autofill_error_info_set_received_cb | ( | autofill_h | ah, |
autofill_error_info_received_cb | callback, | ||
void * | user_data | ||
) |
Sets the callback to receive the error information.
[in] | ah | The autofill handle |
[in] | callback | The callback function to register |
[in] | user_data | The user data to be passed to the callback function |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
Unsets the callback to receive the error information.
[in] | ah | The autofill handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
int autofill_fill_request | ( | autofill_h | ah, |
autofill_view_info_h | vi | ||
) |
Sends fill request to fill out each input form.
[in] | ah | The autofill handle |
[in] | vi | The autofill view info handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
AUTOFILL_ERROR_OPERATION_FAILED | Operation failure |
int autofill_fill_response_set_received_cb | ( | autofill_h | ah, |
autofill_fill_response_received_cb | callback, | ||
void * | user_data | ||
) |
Sets the callback to receive autofill fill response.
[in] | ah | The autofill handle |
[in] | callback | The callback function to register |
[in] | user_data | The user data to be passed to the callback function |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
Unsets the callback to receive autofill fill response.
[in] | ah | The autofill handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |