Tizen Native API
5.5
|
The Autofill service API provides the functions to operate Autofill service.
#include <autofill_service.h>
Autofill Service application is a service application to save the user input and provide the data previously entered by the user. Using the Autofill service functions, Autofill service application developers can implement their own autofill service to serve the autofill information.
Functions | |
int | autofill_service_initialize (void) |
Initializes autofill service library. | |
int | autofill_service_deinitialize (void) |
Deinitializes autofill service library. | |
int | autofill_service_set_auth_info_requested_cb (autofill_service_auth_info_requested_cb callback, void *user_data) |
Sets the callback to receive the request of authentication information. | |
int | autofill_service_unset_auth_info_requested_cb (void) |
Unsets the callback to receive the request of authentication information. | |
int | autofill_service_send_auth_info (int context_id, autofill_auth_info_h h) |
Sends the authentication information. | |
int | autofill_service_set_fill_requested_cb (autofill_service_fill_requested_cb callback, void *user_data) |
Sets the callback to receive the fill request. | |
int | autofill_service_unset_fill_requested_cb (void) |
Unsets the callback to receive the fill request. | |
int | autofill_service_set_cancel_fill_requested_cb (autofill_service_cancel_fill_requested_cb callback, void *user_data) |
Sets the callback to receive the cancellation of autofill request. | |
int | autofill_service_unset_cancel_fill_requested_cb (void) |
Unsets the callback to receive the cancellation of autofill request. | |
int | autofill_service_send_fill_response (int context_id, autofill_fill_response_h h) |
Sends the fill response. | |
int | autofill_service_set_committed_cb (autofill_service_committed_cb callback, void *user_data) |
Sets the callback to receive the commit request. | |
int | autofill_service_unset_committed_cb (void) |
Unsets the callback to receive the commit request. | |
int | autofill_service_set_terminate_received_cb (autofill_service_terminate_received_cb callback, void *user_data) |
Sets the callback to receive the terminate request. | |
int | autofill_service_unset_terminate_received_cb (void) |
Unsets the callback to receive the terminate request. | |
int | autofill_service_send_error_info (int context_id, autofill_error_info_h h) |
Sends error to the autofill client. | |
Typedefs | |
typedef void(* | autofill_service_auth_info_requested_cb )(int context_id, autofill_view_info_h vi, void *user_data) |
Called when receiving authentication information request. | |
typedef void(* | autofill_service_fill_requested_cb )(int context_id, autofill_view_info_h vi, void *user_data) |
Called when receiving fill request. | |
typedef void(* | autofill_service_cancel_fill_requested_cb )(int context_id, autofill_view_info_h vi, void *user_data) |
Called when receiving the cancellation of autofill request. | |
typedef void(* | autofill_service_committed_cb )(int context_id, autofill_save_view_info_h vi, void *user_data) |
Called when receiving commit request. | |
typedef void(* | autofill_service_terminate_received_cb )(void *user_data) |
Called when receiving terminate request. |
typedef void(* autofill_service_auth_info_requested_cb)(int context_id, autofill_view_info_h vi, void *user_data) |
Called when receiving authentication information request.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | vi | The autofill view info handle |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_service_cancel_fill_requested_cb)(int context_id, autofill_view_info_h vi, void *user_data) |
Called when receiving the cancellation of autofill request.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | vi | The autofill view info handle |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_service_committed_cb)(int context_id, autofill_save_view_info_h vi, void *user_data) |
Called when receiving commit request.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | vi | The autofill save view info handle |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_service_fill_requested_cb)(int context_id, autofill_view_info_h vi, void *user_data) |
Called when receiving fill request.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | vi | The autofill view info handle |
[in] | user_data | The user data passed from the callback function |
typedef void(* autofill_service_terminate_received_cb)(void *user_data) |
Called when receiving terminate request.
[in] | user_data | The user data passed from the callback function |
int autofill_service_deinitialize | ( | void | ) |
Deinitializes autofill service library.
AUTOFILL_ERROR_NONE | No error |
int autofill_service_initialize | ( | void | ) |
Initializes autofill service library.
AUTOFILL_ERROR_NONE | No error |
int autofill_service_send_auth_info | ( | int | context_id, |
autofill_auth_info_h | h | ||
) |
Sends the authentication information.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | h | The autofill authentication info handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
int autofill_service_send_error_info | ( | int | context_id, |
autofill_error_info_h | h | ||
) |
Sends error to the autofill client.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | h | The autofill error info handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
int autofill_service_send_fill_response | ( | int | context_id, |
autofill_fill_response_h | h | ||
) |
Sends the fill response.
[in] | context_id | The autofill context identification value of an associated autofill client handle |
[in] | h | The autofill fill response handle |
AUTOFILL_ERROR_NONE | No error |
AUTOFILL_ERROR_INVALID_PARAMETER | Invalid parameter |
int autofill_service_set_auth_info_requested_cb | ( | autofill_service_auth_info_requested_cb | callback, |
void * | user_data | ||
) |
Sets the callback to receive the request of authentication information.
[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 |
int autofill_service_set_cancel_fill_requested_cb | ( | autofill_service_cancel_fill_requested_cb | callback, |
void * | user_data | ||
) |
Sets the callback to receive the cancellation of autofill request.
[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 |
int autofill_service_set_committed_cb | ( | autofill_service_committed_cb | callback, |
void * | user_data | ||
) |
Sets the callback to receive the commit request.
[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 |
int autofill_service_set_fill_requested_cb | ( | autofill_service_fill_requested_cb | callback, |
void * | user_data | ||
) |
Sets the callback to receive the fill request.
[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 |
int autofill_service_set_terminate_received_cb | ( | autofill_service_terminate_received_cb | callback, |
void * | user_data | ||
) |
Sets the callback to receive the terminate request.
[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 |
int autofill_service_unset_auth_info_requested_cb | ( | void | ) |
Unsets the callback to receive the request of authentication information.
AUTOFILL_ERROR_NONE | No error |
int autofill_service_unset_cancel_fill_requested_cb | ( | void | ) |
Unsets the callback to receive the cancellation of autofill request.
AUTOFILL_ERROR_NONE | No error |
int autofill_service_unset_committed_cb | ( | void | ) |
Unsets the callback to receive the commit request.
AUTOFILL_ERROR_NONE | No error |
int autofill_service_unset_fill_requested_cb | ( | void | ) |
Unsets the callback to receive the fill request.
AUTOFILL_ERROR_NONE | No error |
int autofill_service_unset_terminate_received_cb | ( | void | ) |
Unsets the callback to receive the terminate request.
AUTOFILL_ERROR_NONE | No error |