Tizen Native API
7.0
|
The Autofill common API provides the functions for manipulating autofill data.
Required Header
#include <autofill_common.h>
Overview
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. Autofill common functions are responsible for storing or retrieving autofill data in each autofill data structure. The Autofill common functions can be used in an autofill client and an autofill service.
Functions | |
int | autofill_item_create (autofill_item_h *it) |
Creates an autofill item. | |
int | autofill_item_destroy (autofill_item_h it) |
Destroys an autofill item. | |
int | autofill_item_clone (autofill_item_h it, autofill_item_h *clone) |
Clones an autofill item. | |
int | autofill_item_set_autofill_hint (autofill_item_h it, autofill_hint_e hint) |
Sets the autofill hint (id (username), name, password, phone, credit card number, organization, so on) in an autofill item. | |
int | autofill_item_get_autofill_hint (autofill_item_h it, autofill_hint_e *hint) |
Gets the autofill hint from an autofill item. | |
int | autofill_item_set_id (autofill_item_h it, const char *id) |
Sets the autofill ID in an autofill item. | |
int | autofill_item_get_id (autofill_item_h it, char **id) |
Gets the autofill ID from an autofill item. | |
int | autofill_item_set_label (autofill_item_h it, const char *label) |
Sets the autofill label in an autofill item. | |
int | autofill_item_get_label (autofill_item_h it, char **label) |
Gets the autofill label from an autofill item. | |
int | autofill_item_set_sensitive_data (autofill_item_h it, bool sensitive) |
Sets the sensitive data in an autofill item. | |
int | autofill_item_get_sensitive_data (autofill_item_h it, bool *sensitive) |
Gets the sensitive data from an autofill item. | |
int | autofill_item_set_value (autofill_item_h it, const char *value) |
Sets the autofill value in an autofill item. | |
int | autofill_item_get_value (autofill_item_h it, char **value) |
Gets the autofill value from an autofill item. | |
int | autofill_auth_info_create (autofill_auth_info_h *ai) |
Creates autofill authentication information. | |
int | autofill_auth_info_destroy (autofill_auth_info_h ai) |
Destroys autofill authentication information. | |
int | autofill_auth_info_set_app_id (autofill_auth_info_h ai, const char *app_id) |
Sets the app id in autofill authentication information. | |
int | autofill_auth_info_get_app_id (autofill_auth_info_h ai, char **app_id) |
Gets the app id from autofill authentication information. | |
int | autofill_auth_info_set_view_id (autofill_auth_info_h ai, const char *view_id) |
Sets the view id in autofill authentication information. | |
int | autofill_auth_info_get_view_id (autofill_auth_info_h ai, char **view_id) |
Gets the view id from autofill authentication information. | |
int | autofill_auth_info_set_autofill_data_present (autofill_auth_info_h ai, bool autofill_data_present) |
Sets the 'autofill data present' attribute in autofill authentication information. | |
int | autofill_auth_info_get_autofill_data_present (autofill_auth_info_h ai, bool *autofill_data_present) |
Gets the 'autofill data present' attribute from autofill authentication information. | |
int | autofill_auth_info_set_authentication_needed (autofill_auth_info_h ai, bool authentication_needed) |
Sets the 'authentication needed' attribute in autofill authentication information. | |
int | autofill_auth_info_get_authentication_needed (autofill_auth_info_h ai, bool *authentication_needed) |
Gets the 'authentication needed' attribute from autofill authentication information. | |
int | autofill_auth_info_set_service_name (autofill_auth_info_h ai, const char *service_name) |
Sets the service name in autofill authentication information. | |
int | autofill_auth_info_get_service_name (autofill_auth_info_h ai, char **service_name) |
Gets the service name from autofill authentication information. | |
int | autofill_auth_info_set_service_message (autofill_auth_info_h ai, const char *service_message) |
Sets the service message in autofill authentication information. | |
int | autofill_auth_info_get_service_message (autofill_auth_info_h ai, char **service_message) |
Gets the service message from autofill authentication information. | |
int | autofill_auth_info_set_service_logo_image_path (autofill_auth_info_h ai, const char *service_logo_image_path) |
Sets the service logo image path in autofill authentication information. | |
int | autofill_auth_info_get_service_logo_image_path (autofill_auth_info_h ai, char **service_logo_image_path) |
Gets the service logo image path from autofill authentication information. | |
int | autofill_view_info_create (autofill_view_info_h *vi) |
Creates autofill view information. | |
int | autofill_view_info_destroy (autofill_view_info_h vi) |
Destroys autofill view information. | |
int | autofill_view_info_set_app_id (autofill_view_info_h vi, const char *app_id) |
Sets the app id in autofill view information. | |
int | autofill_view_info_get_app_id (autofill_view_info_h vi, char **app_id) |
Gets the app id from autofill view information. | |
int | autofill_view_info_set_view_id (autofill_view_info_h vi, const char *view_id) |
Sets the view id in autofill view information. | |
int | autofill_view_info_get_view_id (autofill_view_info_h vi, char **view_id) |
Gets the view id from autofill view information. | |
int | autofill_view_info_add_item (autofill_view_info_h vi, autofill_item_h it) |
Adds autofill item in autofill view information. | |
int | autofill_view_info_foreach_item (autofill_view_info_h vi, autofill_item_cb callback, void *user_data) |
Retrieves all items in autofill view information. | |
int | autofill_save_view_info_create (autofill_save_view_info_h *vi) |
Creates the view having autofill entries. | |
int | autofill_save_view_info_destroy (autofill_save_view_info_h vi) |
Destroys the view having autofill entries. | |
int | autofill_save_view_info_set_app_id (autofill_save_view_info_h vi, const char *app_id) |
Sets the app ID in the view having autofill entries. | |
int | autofill_save_view_info_get_app_id (autofill_save_view_info_h vi, char **app_id) |
Gets the app ID from the view having autofill entries. | |
int | autofill_save_view_info_set_view_id (autofill_save_view_info_h vi, const char *view_id) |
Sets the view ID in the view having autofill entries. | |
int | autofill_save_view_info_get_view_id (autofill_save_view_info_h vi, char **view_id) |
Gets the view ID from the view having autofill entries. | |
int | autofill_save_view_info_set_view_title (autofill_save_view_info_h vi, const char *view_title) |
Sets the title of the view having autofill entries. | |
int | autofill_save_view_info_get_view_title (autofill_save_view_info_h vi, char **view_title) |
Gets the title of the view having autofill entries. | |
int | autofill_save_view_info_add_item (autofill_save_view_info_h vi, autofill_save_item_h it) |
Adds autofill save item in the view having autofill entries. | |
int | autofill_save_view_info_foreach_item (autofill_save_view_info_h vi, autofill_save_item_cb callback, void *user_data) |
Retrieves all items in the view having autofill entries. | |
int | autofill_fill_response_create (autofill_fill_response_h *h) |
Creates a handle for having a response of the requested autofill. | |
int | autofill_fill_response_destroy (autofill_fill_response_h h) |
Destroys a handle for having a response of the requested autofill. | |
int | autofill_fill_response_set_app_id (autofill_fill_response_h h, const char *app_id) |
Sets the app ID in the handle for having a response of the requested autofill. | |
int | autofill_fill_response_get_app_id (autofill_fill_response_h h, char **app_id) |
Gets the app ID from the handle for having a response of the requested autofill. | |
int | autofill_fill_response_set_view_id (autofill_fill_response_h h, const char *view_id) |
Sets the view ID in the handle for having a response of the requested autofill. | |
int | autofill_fill_response_get_view_id (autofill_fill_response_h h, char **view_id) |
Gets the view ID from the handle for having a response of the requested autofill. | |
int | autofill_fill_response_add_group (autofill_fill_response_h h, autofill_fill_response_group_h it) |
Adds autofill fill response group. | |
int | autofill_fill_response_foreach_group (autofill_fill_response_h h, autofill_fill_response_group_cb callback, void *user_data) |
Retrieves all groups of each fill response. | |
int | autofill_fill_response_get_group_count (autofill_fill_response_h h, int *count) |
Gets the number of fill response group. | |
int | autofill_fill_response_group_create (autofill_fill_response_group_h *h) |
Creates an autofill fill response group. | |
int | autofill_fill_response_group_destroy (autofill_fill_response_group_h h) |
Destroys an autofill fill response group. | |
int | autofill_fill_response_group_clone (autofill_fill_response_group_h h, autofill_fill_response_group_h *clone) |
Clones an autofill fill response group. | |
int | autofill_fill_response_group_add_item (autofill_fill_response_group_h h, autofill_fill_response_item_h it) |
Adds autofill item in an autofill fill response group. | |
int | autofill_fill_response_group_foreach_item (autofill_fill_response_group_h h, autofill_fill_response_item_cb callback, void *user_data) |
Retrieves all fill response items of each group. | |
int | autofill_fill_response_item_create (autofill_fill_response_item_h *it) |
Creates a handle for fill response item. | |
int | autofill_fill_response_item_destroy (autofill_fill_response_item_h it) |
Destroys the handle for fill response item. | |
int | autofill_fill_response_item_clone (autofill_fill_response_item_h it, autofill_fill_response_item_h *clone) |
Clones a handle for fill response item. | |
int | autofill_fill_response_item_set_id (autofill_fill_response_item_h it, const char *id) |
Sets the autofill ID in the handle for fill response item. | |
int | autofill_fill_response_item_get_id (autofill_fill_response_item_h it, char **id) |
Gets the autofill ID from the handle for fill response item. | |
int | autofill_fill_response_item_set_value (autofill_fill_response_item_h it, const char *value) |
Sets the autofill value in the handle for fill response item. | |
int | autofill_fill_response_item_get_value (autofill_fill_response_item_h it, char **value) |
Gets the autofill value from the handle for fill response item. | |
int | autofill_fill_response_item_set_presentation_text (autofill_fill_response_item_h it, const char *presentation_text) |
Sets the presentation text in the handle for fill response item. | |
int | autofill_fill_response_item_get_presentation_text (autofill_fill_response_item_h it, char **presentation_text) |
Gets the presentation text from the handle for fill response item. | |
int | autofill_fill_response_item_set_autofill_hint (autofill_fill_response_item_h it, autofill_hint_e hint) |
Sets the type of autofill hint in the handle for fill response item. | |
int | autofill_fill_response_item_get_autofill_hint (autofill_fill_response_item_h it, autofill_hint_e *hint) |
Gets the type of autofill hint in the handle for fill response item. | |
int | autofill_save_item_create (autofill_save_item_h *it) |
Creates autofill save item. | |
int | autofill_save_item_destroy (autofill_save_item_h it) |
Destroys an autofill save item. | |
int | autofill_save_item_clone (autofill_save_item_h it, autofill_save_item_h *clone) |
Clones an autofill save item. | |
int | autofill_save_item_set_autofill_hint (autofill_save_item_h it, autofill_hint_e hint) |
Sets the autofill hint (id(username), name, password, phone, credit card number, organization, so on) in an autofill save item. | |
int | autofill_save_item_get_autofill_hint (autofill_save_item_h it, autofill_hint_e *hint) |
Gets the autofill hint from an autofill save item. | |
int | autofill_save_item_set_id (autofill_save_item_h it, const char *id) |
Sets the autofill ID in an autofill save item. | |
int | autofill_save_item_get_id (autofill_save_item_h it, char **id) |
Gets the autofill ID from an autofill save item. | |
int | autofill_save_item_set_label (autofill_save_item_h it, const char *label) |
Sets the autofill label in an autofill save item. | |
int | autofill_save_item_get_label (autofill_save_item_h it, char **label) |
Gets the autofill label from an autofill save item. | |
int | autofill_save_item_set_sensitive_data (autofill_save_item_h it, bool sensitive) |
Sets the sensitive data in an autofill save item. | |
int | autofill_save_item_get_sensitive_data (autofill_save_item_h it, bool *sensitive) |
Gets the sensitive data from an autofill save item. | |
int | autofill_save_item_set_value (autofill_save_item_h it, const char *value) |
Sets the autofill value in an autofill save item. | |
int | autofill_save_item_get_value (autofill_save_item_h it, char **value) |
Gets the autofill value from an autofill save item. | |
int | autofill_error_info_create (autofill_error_info_h *ei) |
Creates autofill error information. | |
int | autofill_error_info_destroy (autofill_error_info_h ei) |
Destroys autofill error information. | |
int | autofill_error_info_set_app_id (autofill_error_info_h ei, const char *app_id) |
Sets the app id in autofill error information. | |
int | autofill_error_info_get_app_id (autofill_error_info_h ei, char **app_id) |
Gets the app id from autofill error information. | |
int | autofill_error_info_set_error_code (autofill_error_info_h ei, autofill_error_e error_code) |
Sets the error code in autofill error information. | |
int | autofill_error_info_get_error_code (autofill_error_info_h ei, autofill_error_e *error_code) |
Gets the error code from autofill error information. | |
Typedefs | |
typedef struct autofill_item_s * | autofill_item_h |
The autofill item handle. | |
typedef struct autofill_auth_info_s * | autofill_auth_info_h |
The autofill authentication information handle. | |
typedef struct autofill_view_info_s * | autofill_view_info_h |
The autofill view information handle. | |
typedef struct autofill_fill_response_s * | autofill_fill_response_h |
The handle for having a response of the requested autofill. | |
typedef struct autofill_fill_response_group_s * | autofill_fill_response_group_h |
The autofill fill response group handle. | |
typedef struct autofill_response_item_s * | autofill_fill_response_item_h |
The autofill fill response item handle. | |
typedef struct autofill_save_item_s * | autofill_save_item_h |
The autofill save item handle. | |
typedef struct autofill_save_view_info_s * | autofill_save_view_info_h |
The handle of the view having autofill entries. | |
typedef struct autofill_error_info_s * | autofill_error_info_h |
The autofill error information handle. | |
typedef bool(* | autofill_item_cb )(autofill_item_h item, void *user_data) |
Called for each autofill information in view info. | |
typedef bool(* | autofill_save_item_cb )(autofill_save_item_h item, void *user_data) |
Called for each autofill information in save view info. | |
typedef bool(* | autofill_fill_response_group_cb )(autofill_fill_response_group_h item, void *user_data) |
Called for each autofill fill response group information in fill response. | |
typedef bool(* | autofill_fill_response_item_cb )(autofill_fill_response_item_h item, void *user_data) |
Called for each autofill fill response information in fill response group. |
Typedef Documentation
typedef struct autofill_auth_info_s* autofill_auth_info_h |
The autofill authentication information handle.
- Since :
- 5.5
typedef struct autofill_error_info_s* autofill_error_info_h |
The autofill error information handle.
- Since :
- 5.5
typedef bool(* autofill_fill_response_group_cb)(autofill_fill_response_group_h item, void *user_data) |
Called for each autofill fill response group information in fill response.
- Since :
- 5.5
- Remarks:
- item should not be freed and can be used only in the callback.
- Parameters:
-
[in] item The autofill fill response group handle [in] user_data The user data to be passed to the callback function
- Returns:
true
to continue with the next iteration of the loop, otherwisefalse
to break out of the loop
- Precondition:
- autofill_fill_response_foreach_group() will invoke this callback.
typedef struct autofill_fill_response_group_s* autofill_fill_response_group_h |
The autofill fill response group handle.
- Since :
- 5.5
typedef struct autofill_fill_response_s* autofill_fill_response_h |
The handle for having a response of the requested autofill.
- Since :
- 5.5
typedef bool(* autofill_fill_response_item_cb)(autofill_fill_response_item_h item, void *user_data) |
Called for each autofill fill response information in fill response group.
- Since :
- 5.5
- Remarks:
- item should not be freed and can be used only in the callback.
- Parameters:
-
[in] item The autofill fill response item handle [in] user_data The user data to be passed to the callback function
- Returns:
true
to continue with the next iteration of the loop, otherwisefalse
to break out of the loop
- Precondition:
- autofill_fill_response_group_foreach_item() will invoke this callback.
- See also:
- autofill_view_info_foreach_item()
typedef struct autofill_response_item_s* autofill_fill_response_item_h |
The autofill fill response item handle.
- Since :
- 5.5
typedef bool(* autofill_item_cb)(autofill_item_h item, void *user_data) |
Called for each autofill information in view info.
- Since :
- 5.5
- Remarks:
- item should not be freed and can be used only in the callback.
- Parameters:
-
[in] item The autofill item handle [in] user_data The user data to be passed to the callback function
- Returns:
true
to continue with the next iteration of the loop, otherwisefalse
to break out of the loop
- Precondition:
- autofill_view_info_foreach_item() will invoke this callback.
- See also:
- autofill_view_info_foreach_item()
typedef struct autofill_item_s* autofill_item_h |
The autofill item handle.
- Since :
- 5.5
typedef bool(* autofill_save_item_cb)(autofill_save_item_h item, void *user_data) |
Called for each autofill information in save view info.
- Since :
- 5.5
- Remarks:
- item should not be freed and can be used only in the callback.
- Parameters:
-
[in] item The autofill item handle [in] user_data The user data to be passed to the callback function
- Returns:
true
to continue with the next iteration of the loop, otherwisefalse
to break out of the loop
- Precondition:
- autofill_view_info_foreach_item() will invoke this callback.
- See also:
- autofill_view_info_foreach_item()
typedef struct autofill_save_item_s* autofill_save_item_h |
The autofill save item handle.
- Since :
- 5.5
typedef struct autofill_save_view_info_s* autofill_save_view_info_h |
The handle of the view having autofill entries.
- Since :
- 5.5
typedef struct autofill_view_info_s* autofill_view_info_h |
The autofill view information handle.
- Since :
- 5.5
Enumeration Type Documentation
enum autofill_error_e |
Enumeration for autofill function error.
- Since :
- 5.5
- Enumerator:
enum autofill_hint_e |
Enumeration for autofill hint.
- Since :
- 5.5
- Enumerator:
Function Documentation
int autofill_auth_info_create | ( | autofill_auth_info_h * | ai | ) |
Creates autofill authentication information.
- Since :
- 5.5
- Remarks:
- If the function succeeds, ai handle must be released with autofill_auth_info_destroy().
- Parameters:
-
[out] ai The autofill authentication information handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Destroys autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_get_app_id | ( | autofill_auth_info_h | ai, |
char ** | app_id | ||
) |
Gets the app id from autofill authentication information.
- Since :
- 5.5
- Remarks:
- app_id must be released using free().
- Parameters:
-
[in] ai The autofill authentication information handle [out] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_auth_info_get_authentication_needed | ( | autofill_auth_info_h | ai, |
bool * | authentication_needed | ||
) |
Gets the 'authentication needed' attribute from autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [out] authentication_needed The authentication need
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_get_autofill_data_present | ( | autofill_auth_info_h | ai, |
bool * | autofill_data_present | ||
) |
Gets the 'autofill data present' attribute from autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [out] autofill_data_present The autofill data presence
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_get_service_logo_image_path | ( | autofill_auth_info_h | ai, |
char ** | service_logo_image_path | ||
) |
Gets the service logo image path from autofill authentication information.
- Since :
- 5.5
- Remarks:
- service_logo_image_path must be released using free().
- Parameters:
-
[in] ai The autofill authentication information handle [out] service_logo_image_path The autofill service logo image path
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_auth_info_get_service_message | ( | autofill_auth_info_h | ai, |
char ** | service_message | ||
) |
Gets the service message from autofill authentication information.
- Since :
- 5.5
- Remarks:
- service_message must be released using free().
- Parameters:
-
[in] ai The autofill authentication information handle [out] service_message The autofill service message
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_auth_info_get_service_name | ( | autofill_auth_info_h | ai, |
char ** | service_name | ||
) |
Gets the service name from autofill authentication information.
- Since :
- 5.5
- Remarks:
- service_name must be released using free().
- Parameters:
-
[in] ai The autofill authentication information handle [out] service_name The autofill service name
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_auth_info_get_view_id | ( | autofill_auth_info_h | ai, |
char ** | view_id | ||
) |
Gets the view id from autofill authentication information.
- Since :
- 5.5
- Remarks:
- view_id must be released using free().
- Parameters:
-
[in] ai The autofill authentication information handle [out] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_auth_info_set_app_id | ( | autofill_auth_info_h | ai, |
const char * | app_id | ||
) |
Sets the app id in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_set_authentication_needed | ( | autofill_auth_info_h | ai, |
bool | authentication_needed | ||
) |
Sets the 'authentication needed' attribute in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] authentication_needed The authentication need
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_set_autofill_data_present | ( | autofill_auth_info_h | ai, |
bool | autofill_data_present | ||
) |
Sets the 'autofill data present' attribute in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] autofill_data_present The autofill data presence
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_set_service_logo_image_path | ( | autofill_auth_info_h | ai, |
const char * | service_logo_image_path | ||
) |
Sets the service logo image path in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] service_logo_image_path The autofill service logo image path
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_set_service_message | ( | autofill_auth_info_h | ai, |
const char * | service_message | ||
) |
Sets the service message in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] service_message The autofill service message
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_set_service_name | ( | autofill_auth_info_h | ai, |
const char * | service_name | ||
) |
Sets the service name in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] service_name The autofill service name
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_auth_info_set_view_id | ( | autofill_auth_info_h | ai, |
const char * | view_id | ||
) |
Sets the view id in autofill authentication information.
- Since :
- 5.5
- Parameters:
-
[in] ai The autofill authentication information handle [in] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_error_info_create | ( | autofill_error_info_h * | ei | ) |
Creates autofill error information.
- Since :
- 5.5
- Remarks:
- If the function succeeds, ei handle must be released with autofill_error_info_destroy().
- Parameters:
-
[out] ei The autofill error information handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Destroys autofill error information.
- Since :
- 5.5
- Parameters:
-
[in] ei The autofill error information handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_error_info_get_app_id | ( | autofill_error_info_h | ei, |
char ** | app_id | ||
) |
Gets the app id from autofill error information.
- Since :
- 5.5
- Remarks:
- app_id must be released using free().
- Parameters:
-
[in] ei The autofill error information handle [out] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_error_info_get_error_code | ( | autofill_error_info_h | ei, |
autofill_error_e * | error_code | ||
) |
Gets the error code from autofill error information.
- Since :
- 5.5
- Parameters:
-
[in] ei The autofill error information handle [out] error_code The autofill error code
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
- See also:
- get_error_message()
int autofill_error_info_set_app_id | ( | autofill_error_info_h | ei, |
const char * | app_id | ||
) |
Sets the app id in autofill error information.
- Since :
- 5.5
- Parameters:
-
[in] ei The autofill error information handle [in] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_error_info_set_error_code | ( | autofill_error_info_h | ei, |
autofill_error_e | error_code | ||
) |
Sets the error code in autofill error information.
- Since :
- 5.5
- Parameters:
-
[in] ei The autofill error information handle [in] error_code The autofill error code
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_add_group | ( | autofill_fill_response_h | h, |
autofill_fill_response_group_h | it | ||
) |
Adds autofill fill response group.
- Since :
- 5.5
- Parameters:
-
[in] h The handle for having a response of the requested autofill [in] it The autofill fill response group handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
Creates a handle for having a response of the requested autofill.
- Since :
- 5.5
- Remarks:
- If the function succeeds, h handle must be released with autofill_fill_response_destroy().
- Parameters:
-
[out] h The handle for having a response of the requested autofill
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
Destroys a handle for having a response of the requested autofill.
- Since :
- 5.5
- Parameters:
-
[in] h The handle for having a response of the requested autofill
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_foreach_group | ( | autofill_fill_response_h | h, |
autofill_fill_response_group_cb | callback, | ||
void * | user_data | ||
) |
Retrieves all groups of each fill response.
- Since :
- 5.5
- Parameters:
-
[in] h The handle for having a response of the requested autofill [in] callback The callback function to register [in] user_data The user data to be passed to the callback function
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_get_app_id | ( | autofill_fill_response_h | h, |
char ** | app_id | ||
) |
Gets the app ID from the handle for having a response of the requested autofill.
- Since :
- 5.5
- Remarks:
- app_id must be released using free().
- Parameters:
-
[in] h The handle for having a response of the requested autofill [out] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_fill_response_get_group_count | ( | autofill_fill_response_h | h, |
int * | count | ||
) |
Gets the number of fill response group.
- Since :
- 5.5
- Parameters:
-
[in] h The handle for having a response of the requested autofill [out] count The number of group
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_get_view_id | ( | autofill_fill_response_h | h, |
char ** | view_id | ||
) |
Gets the view ID from the handle for having a response of the requested autofill.
- Since :
- 5.5
- Remarks:
- view_id must be released using free().
- Parameters:
-
[in] h The handle for having a response of the requested autofill [out] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_fill_response_group_add_item | ( | autofill_fill_response_group_h | h, |
autofill_fill_response_item_h | it | ||
) |
Adds autofill item in an autofill fill response group.
- Since :
- 5.5
- Parameters:
-
[in] h The autofill fill response group handle [in] it The autofill fill response item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
int autofill_fill_response_group_clone | ( | autofill_fill_response_group_h | h, |
autofill_fill_response_group_h * | clone | ||
) |
Clones an autofill fill response group.
- Since :
- 5.5
- Remarks:
- If the function succeeds, clone handle must be released with autofill_fill_response_group_destroy().
- Parameters:
-
[in] h The autofill fill response group handle [in] clone The autofill fill response group handle to be cloned
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory AUTOFILL_ERROR_OPERATION_FAILED Operation failure
Creates an autofill fill response group.
- Since :
- 5.5
- Remarks:
- If the function succeeds, h handle must be released with autofill_fill_response_group_destroy().
- Parameters:
-
[out] h The autofill fill response group handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Destroys an autofill fill response group.
- Since :
- 5.5
- Parameters:
-
[in] h The autofill fill response group handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_group_foreach_item | ( | autofill_fill_response_group_h | h, |
autofill_fill_response_item_cb | callback, | ||
void * | user_data | ||
) |
Retrieves all fill response items of each group.
- Since :
- 5.5
- Parameters:
-
[in] h The autofill fill response group handle [in] callback The callback function to register [in] user_data The user data to be passed to the callback function
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_item_clone | ( | autofill_fill_response_item_h | it, |
autofill_fill_response_item_h * | clone | ||
) |
Clones a handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle [in] clone The autofill fill response item handle to be cloned
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Creates a handle for fill response item.
- Since :
- 5.5
- Remarks:
- If the function succeeds, it handle must be released with autofill_fill_response_item_destroy().
- Parameters:
-
[out] it The autofill fill response item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Destroys the handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_item_get_autofill_hint | ( | autofill_fill_response_item_h | it, |
autofill_hint_e * | hint | ||
) |
Gets the type of autofill hint in the handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle [out] hint The autofill hint
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_fill_response_item_get_id | ( | autofill_fill_response_item_h | it, |
char ** | id | ||
) |
Gets the autofill ID from the handle for fill response item.
- Since :
- 5.5
- Remarks:
- id must be released using free().
- Parameters:
-
[in] it The autofill fill response item handle [out] id The autofill fill response item ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_fill_response_item_get_presentation_text | ( | autofill_fill_response_item_h | it, |
char ** | presentation_text | ||
) |
Gets the presentation text from the handle for fill response item.
- Since :
- 5.5
- Remarks:
- presentation_text must be released using free().
- Parameters:
-
[in] it The autofill fill response item handle [out] presentation_text The presentation text
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_fill_response_item_get_value | ( | autofill_fill_response_item_h | it, |
char ** | value | ||
) |
Gets the autofill value from the handle for fill response item.
- Since :
- 5.5
- Remarks:
- value must be released using free().
- Parameters:
-
[in] it The autofill fill response item handle [out] value The autofill fill response item value
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_fill_response_item_set_autofill_hint | ( | autofill_fill_response_item_h | it, |
autofill_hint_e | hint | ||
) |
Sets the type of autofill hint in the handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle [in] hint The autofill hint
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_item_set_id | ( | autofill_fill_response_item_h | it, |
const char * | id | ||
) |
Sets the autofill ID in the handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle [in] id The autofill fill response item ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_item_set_presentation_text | ( | autofill_fill_response_item_h | it, |
const char * | presentation_text | ||
) |
Sets the presentation text in the handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle [in] presentation_text The presentation text
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_item_set_value | ( | autofill_fill_response_item_h | it, |
const char * | value | ||
) |
Sets the autofill value in the handle for fill response item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill fill response item handle [in] value The autofill fill response item value
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_set_app_id | ( | autofill_fill_response_h | h, |
const char * | app_id | ||
) |
Sets the app ID in the handle for having a response of the requested autofill.
- Since :
- 5.5
- Parameters:
-
[in] h The handle for having a response of the requested autofill [in] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_fill_response_set_view_id | ( | autofill_fill_response_h | h, |
const char * | view_id | ||
) |
Sets the view ID in the handle for having a response of the requested autofill.
- Since :
- 5.5
- Parameters:
-
[in] h The handle for having a response of the requested autofill [in] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_clone | ( | autofill_item_h | it, |
autofill_item_h * | clone | ||
) |
Clones an autofill item.
- Since :
- 5.5
- Remarks:
- If the function succeeds, clone handle must be released with autofill_item_destroy().
- Parameters:
-
[in] it The autofill item handle [out] clone The autofill item handle to be cloned
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
int autofill_item_create | ( | autofill_item_h * | it | ) |
Creates an autofill item.
- Since :
- 5.5
- Remarks:
- If the function succeeds, it handle must be released with autofill_item_destroy().
- Parameters:
-
[out] it The autofill item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
- See also:
- autofill_item_destroy()
int autofill_item_destroy | ( | autofill_item_h | it | ) |
Destroys an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_get_autofill_hint | ( | autofill_item_h | it, |
autofill_hint_e * | hint | ||
) |
Gets the autofill hint from an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [out] hint The autofill hint
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_get_id | ( | autofill_item_h | it, |
char ** | id | ||
) |
Gets the autofill ID from an autofill item.
- Since :
- 5.5
- Remarks:
- id must be released using free().
- Parameters:
-
[in] it The autofill item handle [out] id The autofill ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_item_get_label | ( | autofill_item_h | it, |
char ** | label | ||
) |
Gets the autofill label from an autofill item.
- Since :
- 5.5
- Remarks:
- label must be released using free().
- Parameters:
-
[in] it The autofill item handle [out] label The autofill label
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_item_get_sensitive_data | ( | autofill_item_h | it, |
bool * | sensitive | ||
) |
Gets the sensitive data from an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [out] sensitive The sensitive data or not
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_get_value | ( | autofill_item_h | it, |
char ** | value | ||
) |
Gets the autofill value from an autofill item.
- Since :
- 5.5
- Remarks:
- value must be released using free().
- Parameters:
-
[in] it The autofill item handle [out] value The autofill value
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_item_set_autofill_hint | ( | autofill_item_h | it, |
autofill_hint_e | hint | ||
) |
Sets the autofill hint (id (username), name, password, phone, credit card number, organization, so on) in an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [in] hint The autofill hint
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_set_id | ( | autofill_item_h | it, |
const char * | id | ||
) |
Sets the autofill ID in an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [in] id The autofill ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_set_label | ( | autofill_item_h | it, |
const char * | label | ||
) |
Sets the autofill label in an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [in] label The autofill label
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_set_sensitive_data | ( | autofill_item_h | it, |
bool | sensitive | ||
) |
Sets the sensitive data in an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [in] sensitive The sensitive data or not
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_item_set_value | ( | autofill_item_h | it, |
const char * | value | ||
) |
Sets the autofill value in an autofill item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill item handle [in] value The autofill value
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_clone | ( | autofill_save_item_h | it, |
autofill_save_item_h * | clone | ||
) |
Clones an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [in] clone The autofill save item handle to be cloned
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
int autofill_save_item_create | ( | autofill_save_item_h * | it | ) |
Creates autofill save item.
- Since :
- 5.5
- Remarks:
- If the function succeeds, it handle must be released with autofill_save_item_destroy().
- Parameters:
-
[out] it The autofill save item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
Destroys an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_get_autofill_hint | ( | autofill_save_item_h | it, |
autofill_hint_e * | hint | ||
) |
Gets the autofill hint from an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [out] hint The autofill hint
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_get_id | ( | autofill_save_item_h | it, |
char ** | id | ||
) |
Gets the autofill ID from an autofill save item.
- Since :
- 5.5
- Remarks:
- id must be released using free().
- Parameters:
-
[in] it The autofill save item handle [out] id The autofill ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_save_item_get_label | ( | autofill_save_item_h | it, |
char ** | label | ||
) |
Gets the autofill label from an autofill save item.
- Since :
- 5.5
- Remarks:
- label must be released using free().
- Parameters:
-
[in] it The autofill save item handle [out] label The autofill label
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_save_item_get_sensitive_data | ( | autofill_save_item_h | it, |
bool * | sensitive | ||
) |
Gets the sensitive data from an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [out] sensitive The sensitive data or not
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_get_value | ( | autofill_save_item_h | it, |
char ** | value | ||
) |
Gets the autofill value from an autofill save item.
- Since :
- 5.5
- Remarks:
- value must be released using free().
- Parameters:
-
[in] it The autofill save item handle [out] value The autofill value
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_save_item_set_autofill_hint | ( | autofill_save_item_h | it, |
autofill_hint_e | hint | ||
) |
Sets the autofill hint (id(username), name, password, phone, credit card number, organization, so on) in an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [in] hint The autofill hint
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_set_id | ( | autofill_save_item_h | it, |
const char * | id | ||
) |
Sets the autofill ID in an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [in] id The autofill ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_set_label | ( | autofill_save_item_h | it, |
const char * | label | ||
) |
Sets the autofill label in an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [out] label The autofill label
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_set_sensitive_data | ( | autofill_save_item_h | it, |
bool | sensitive | ||
) |
Sets the sensitive data in an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [in] sensitive The sensitive data or not
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_item_set_value | ( | autofill_save_item_h | it, |
const char * | value | ||
) |
Sets the autofill value in an autofill save item.
- Since :
- 5.5
- Parameters:
-
[in] it The autofill save item handle [in] value The autofill value
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
Adds autofill save item in the view having autofill entries.
- Since :
- 5.5
- Parameters:
-
[in] vi The handle of autofill for the saving view [in] it The autofill save item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
Creates the view having autofill entries.
- Since :
- 5.5
- Remarks:
- If the function succeeds, vi handle must be released with autofill_save_view_info_destroy()
- Parameters:
-
[out] vi The handle of autofill for the saving view
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Destroys the view having autofill entries.
- Since :
- 5.5
- Parameters:
-
[in] vi The autofill view info handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_view_info_foreach_item | ( | autofill_save_view_info_h | vi, |
autofill_save_item_cb | callback, | ||
void * | user_data | ||
) |
Retrieves all items in the view having autofill entries.
- Since :
- 5.5
- Parameters:
-
[in] vi The handle of autofill for the saving view [in] callback The callback function to register [in] user_data The user data to be passed to the callback function
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_view_info_get_app_id | ( | autofill_save_view_info_h | vi, |
char ** | app_id | ||
) |
Gets the app ID from the view having autofill entries.
- Since :
- 5.5
- Remarks:
- app_id must be released using free().
- Parameters:
-
[in] vi The handle of autofill for the saving view [out] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_save_view_info_get_view_id | ( | autofill_save_view_info_h | vi, |
char ** | view_id | ||
) |
Gets the view ID from the view having autofill entries.
- Since :
- 5.5
- Remarks:
- view_id must be released using free().
- Parameters:
-
[in] vi The handle of autofill for the saving view [out] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_save_view_info_get_view_title | ( | autofill_save_view_info_h | vi, |
char ** | view_title | ||
) |
Gets the title of the view having autofill entries.
- Since :
- 5.5
- Remarks:
- view_title must be released using free().
- Parameters:
-
[in] vi The handle of autofill for the saving view [out] view_title The view title
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_save_view_info_set_app_id | ( | autofill_save_view_info_h | vi, |
const char * | app_id | ||
) |
Sets the app ID in the view having autofill entries.
- Since :
- 5.5
- Parameters:
-
[in] vi The handle of autofill for the saving view [in] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_view_info_set_view_id | ( | autofill_save_view_info_h | vi, |
const char * | view_id | ||
) |
Sets the view ID in the view having autofill entries.
- Since :
- 5.5
- Parameters:
-
[in] vi The handle of autofill for the saving view [in] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_save_view_info_set_view_title | ( | autofill_save_view_info_h | vi, |
const char * | view_title | ||
) |
Sets the title of the view having autofill entries.
- Since :
- 5.5
- Parameters:
-
[in] vi The handle of autofill for the saving view [in] view_title The view title
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_view_info_add_item | ( | autofill_view_info_h | vi, |
autofill_item_h | it | ||
) |
Adds autofill item in autofill view information.
- Since :
- 5.5
- Parameters:
-
[in] vi The autofill view info handle [in] it The autofill item handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_view_info_create | ( | autofill_view_info_h * | vi | ) |
Creates autofill view information.
- Since :
- 5.5
- Remarks:
- If the function succeeds, vi handle must be released with autofill_view_info_destroy().
- Parameters:
-
[out] vi The autofill view info handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OUT_OF_MEMORY Out of memory
Destroys autofill view information.
- Since :
- 5.5
- Parameters:
-
[in] vi The autofill view info handle
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_view_info_foreach_item | ( | autofill_view_info_h | vi, |
autofill_item_cb | callback, | ||
void * | user_data | ||
) |
Retrieves all items in autofill view information.
- Since :
- 5.5
- Parameters:
-
[in] vi The autofill view info handle [in] callback The callback function to register [in] user_data The user data to be passed to the callback function
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_view_info_get_app_id | ( | autofill_view_info_h | vi, |
char ** | app_id | ||
) |
Gets the app id from autofill view information.
- Since :
- 5.5
- Remarks:
- app_id must be released using free().
- Parameters:
-
[in] vi The autofill view info handle [out] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_view_info_get_view_id | ( | autofill_view_info_h | vi, |
char ** | view_id | ||
) |
Gets the view id from autofill view information.
- Since :
- 5.5
- Remarks:
- view_id must be released using free().
- Parameters:
-
[in] vi The autofill view info handle [out] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter AUTOFILL_ERROR_OPERATION_FAILED Operation failure
int autofill_view_info_set_app_id | ( | autofill_view_info_h | vi, |
const char * | app_id | ||
) |
Sets the app id in autofill view information.
- Since :
- 5.5
- Parameters:
-
[in] vi The autofill view info handle [in] app_id The app ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter
int autofill_view_info_set_view_id | ( | autofill_view_info_h | vi, |
const char * | view_id | ||
) |
Sets the view id in autofill view information.
- Since :
- 5.5
- Parameters:
-
[in] vi The autofill view info handle [in] view_id The view ID
- Returns:
- 0 on success, otherwise a negative error value
- Return values:
-
AUTOFILL_ERROR_NONE No error AUTOFILL_ERROR_INVALID_PARAMETER Invalid parameter