Tizen(Headed) Native API  6.5
Autofill common

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]itemThe autofill fill response group handle
[in]user_dataThe user data to be passed to the callback function
Returns:
true to continue with the next iteration of the loop, otherwise false to break out of the loop
Precondition:
autofill_fill_response_foreach_group() will invoke this callback.
See also:
autofill_fill_response_foreach_group()
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]itemThe autofill fill response item handle
[in]user_dataThe user data to be passed to the callback function
Returns:
true to continue with the next iteration of the loop, otherwise false 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]itemThe autofill item handle
[in]user_dataThe user data to be passed to the callback function
Returns:
true to continue with the next iteration of the loop, otherwise false 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]itemThe autofill item handle
[in]user_dataThe user data to be passed to the callback function
Returns:
true to continue with the next iteration of the loop, otherwise false 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

Enumeration for autofill function error.

Since :
5.5
Enumerator:
AUTOFILL_ERROR_NONE 

Successful

AUTOFILL_ERROR_INVALID_PARAMETER 

Invalid parameter

AUTOFILL_ERROR_PERMISSION_DENIED 

Permission denied

AUTOFILL_ERROR_NOT_INITIALIZED 

Not initialized

AUTOFILL_ERROR_OPERATION_FAILED 

Operation failed

AUTOFILL_ERROR_OUT_OF_MEMORY 

Out of memory

AUTOFILL_ERROR_AUTHENTICATION_FAILED 

Authentication failed

AUTOFILL_ERROR_COMMIT_FAILED 

Failed to save autofill data

AUTOFILL_ERROR_FILL_RESPONSE_FAILED 

Failed to response fill request

AUTOFILL_ERROR_SERVICE_NOT_CONNECTED 

Unable to connect to Autofill Service

AUTOFILL_ERROR_SERVICE_NOT_ALLOWED 

Autofill Service is not allowed

AUTOFILL_ERROR_SERVICE_NOT_ACTIVATED 

Autofill Service is not activated

AUTOFILL_ERROR_SAVED_VALUES_NOT_FOUND 

Could not find saved values

Enumeration for autofill hint.

Since :
5.5
Enumerator:
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE 

Autofill hint for a credit card expiration date

AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY 

Autofill hint for a credit card expiration day

AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH 

Autofill hint for a credit card expiration month

AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR 

Autofill hint for a credit card expiration year

AUTOFILL_HINT_CREDIT_CARD_NUMBER 

Autofill hint for a credit card number

AUTOFILL_HINT_EMAIL_ADDRESS 

Autofill hint for an email address

AUTOFILL_HINT_NAME 

Autofill hint for a user's real name

AUTOFILL_HINT_PHONE 

Autofill hint for a phone number

AUTOFILL_HINT_POSTAL_ADDRESS 

Autofill hint for a postal address

AUTOFILL_HINT_POSTAL_CODE 

Autofill hint for a postal code

AUTOFILL_HINT_ID 

Autofill hint for a user's ID

AUTOFILL_HINT_PASSWORD 

Autofill hint for password

AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE 

Autofill hint for a credit card security code


Function Documentation

Creates autofill authentication information.

Since :
5.5
Remarks:
If the function succeeds, ai handle must be released with autofill_auth_info_destroy().
Parameters:
[out]aiThe autofill authentication information handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Destroys autofill authentication information.

Since :
5.5
Parameters:
[in]aiThe autofill authentication information handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[out]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]aiThe autofill authentication information handle
[out]authentication_neededThe authentication need
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[out]autofill_data_presentThe autofill data presence
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[out]service_logo_image_pathThe autofill service logo image path
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]aiThe autofill authentication information handle
[out]service_messageThe autofill service message
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]aiThe autofill authentication information handle
[out]service_nameThe autofill service name
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]aiThe autofill authentication information handle
[out]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]aiThe autofill authentication information handle
[in]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[in]authentication_neededThe authentication need
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[in]autofill_data_presentThe autofill data presence
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[in]service_logo_image_pathThe autofill service logo image path
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[in]service_messageThe autofill service message
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[in]service_nameThe autofill service name
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]aiThe autofill authentication information handle
[in]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Creates autofill error information.

Since :
5.5
Remarks:
If the function succeeds, ei handle must be released with autofill_error_info_destroy().
Parameters:
[out]eiThe autofill error information handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Destroys autofill error information.

Since :
5.5
Parameters:
[in]eiThe autofill error information handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]eiThe autofill error information handle
[out]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the error code from autofill error information.

Since :
5.5
Parameters:
[in]eiThe autofill error information handle
[out]error_codeThe autofill error code
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]eiThe autofill error information handle
[in]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Sets the error code in autofill error information.

Since :
5.5
Parameters:
[in]eiThe autofill error information handle
[in]error_codeThe autofill error code
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Adds autofill fill response group.

Since :
5.5
Parameters:
[in]hThe handle for having a response of the requested autofill
[in]itThe autofill fill response group handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]hThe handle for having a response of the requested autofill
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Destroys a handle for having a response of the requested autofill.

Since :
5.5
Parameters:
[in]hThe handle for having a response of the requested autofill
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Retrieves all groups of each fill response.

Since :
5.5
Parameters:
[in]hThe handle for having a response of the requested autofill
[in]callbackThe callback function to register
[in]user_dataThe user data to be passed to the callback function
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

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]hThe handle for having a response of the requested autofill
[out]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the number of fill response group.

Since :
5.5
Parameters:
[in]hThe handle for having a response of the requested autofill
[out]countThe number of group
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

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]hThe handle for having a response of the requested autofill
[out]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Adds autofill item in an autofill fill response group.

Since :
5.5
Parameters:
[in]hThe autofill fill response group handle
[in]itThe autofill fill response item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

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]hThe autofill fill response group handle
[in]cloneThe autofill fill response group handle to be cloned
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]hThe autofill fill response group handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Destroys an autofill fill response group.

Since :
5.5
Parameters:
[in]hThe autofill fill response group handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Retrieves all fill response items of each group.

Since :
5.5
Parameters:
[in]hThe autofill fill response group handle
[in]callbackThe callback function to register
[in]user_dataThe user data to be passed to the callback function
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Clones a handle for fill response item.

Since :
5.5
Parameters:
[in]itThe autofill fill response item handle
[in]cloneThe autofill fill response item handle to be cloned
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut 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]itThe autofill fill response item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Destroys the handle for fill response item.

Since :
5.5
Parameters:
[in]itThe autofill fill response item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Gets the type of autofill hint in the handle for fill response item.

Since :
5.5
Parameters:
[in]itThe autofill fill response item handle
[out]hintThe autofill hint
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the autofill ID from the handle for fill response item.

Since :
5.5
Remarks:
id must be released using free().
Parameters:
[in]itThe autofill fill response item handle
[out]idThe autofill fill response item ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the presentation text from the handle for fill response item.

Since :
5.5
Remarks:
presentation_text must be released using free().
Parameters:
[in]itThe autofill fill response item handle
[out]presentation_textThe presentation text
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the autofill value from the handle for fill response item.

Since :
5.5
Remarks:
value must be released using free().
Parameters:
[in]itThe autofill fill response item handle
[out]valueThe autofill fill response item value
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Sets the type of autofill hint in the handle for fill response item.

Since :
5.5
Parameters:
[in]itThe autofill fill response item handle
[in]hintThe autofill hint
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Sets the autofill ID in the handle for fill response item.

Since :
5.5
Parameters:
[in]itThe autofill fill response item handle
[in]idThe autofill fill response item ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill fill response item handle
[in]presentation_textThe presentation text
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Sets the autofill value in the handle for fill response item.

Since :
5.5
Parameters:
[in]itThe autofill fill response item handle
[in]valueThe autofill fill response item value
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]hThe handle for having a response of the requested autofill
[in]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]hThe handle for having a response of the requested autofill
[in]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Clones an autofill item.

Since :
5.5
Remarks:
If the function succeeds, clone handle must be released with autofill_item_destroy().
Parameters:
[in]itThe autofill item handle
[out]cloneThe autofill item handle to be cloned
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Creates an autofill item.

Since :
5.5
Remarks:
If the function succeeds, it handle must be released with autofill_item_destroy().
Parameters:
[out]itThe autofill item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory
See also:
autofill_item_destroy()

Destroys an autofill item.

Since :
5.5
Parameters:
[in]itThe autofill item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Gets the autofill hint from an autofill item.

Since :
5.5
Parameters:
[in]itThe autofill item handle
[out]hintThe autofill hint
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill item handle
[out]idThe autofill ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]itThe autofill item handle
[out]labelThe autofill label
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]itThe autofill item handle
[out]sensitiveThe sensitive data or not
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill item handle
[out]valueThe autofill value
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Sets the autofill hint (id (username), name, password, phone, credit card number, organization, so on) in an autofill item.

Since :
5.5
Parameters:
[in]itThe autofill item handle
[in]hintThe autofill hint
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill item handle
[in]idThe autofill ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill item handle
[in]labelThe autofill label
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill item handle
[in]sensitiveThe sensitive data or not
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill item handle
[in]valueThe autofill value
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Clones an autofill save item.

Since :
5.5
Parameters:
[in]itThe autofill save item handle
[in]cloneThe autofill save item handle to be cloned
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Creates autofill save item.

Since :
5.5
Remarks:
If the function succeeds, it handle must be released with autofill_save_item_destroy().
Parameters:
[out]itThe autofill save item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Destroys an autofill save item.

Since :
5.5
Parameters:
[in]itThe autofill save item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Gets the autofill hint from an autofill save item.

Since :
5.5
Parameters:
[in]itThe autofill save item handle
[out]hintThe autofill hint
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill save item handle
[out]idThe autofill ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]itThe autofill save item handle
[out]labelThe autofill label
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]itThe autofill save item handle
[out]sensitiveThe sensitive data or not
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill save item handle
[out]valueThe autofill value
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

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]itThe autofill save item handle
[in]hintThe autofill hint
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill save item handle
[in]idThe autofill ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill save item handle
[out]labelThe autofill label
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Sets the sensitive data in an autofill save item.

Since :
5.5
Parameters:
[in]itThe autofill save item handle
[in]sensitiveThe sensitive data or not
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]itThe autofill save item handle
[in]valueThe autofill value
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Adds autofill save item in the view having autofill entries.

Since :
5.5
Parameters:
[in]viThe handle of autofill for the saving view
[in]itThe autofill save item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]viThe handle of autofill for the saving view
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Destroys the view having autofill entries.

Since :
5.5
Parameters:
[in]viThe autofill view info handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Retrieves all items in the view having autofill entries.

Since :
5.5
Parameters:
[in]viThe handle of autofill for the saving view
[in]callbackThe callback function to register
[in]user_dataThe user data to be passed to the callback function
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Gets the app ID from the view having autofill entries.

Since :
5.5
Remarks:
app_id must be released using free().
Parameters:
[in]viThe handle of autofill for the saving view
[out]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the view ID from the view having autofill entries.

Since :
5.5
Remarks:
view_id must be released using free().
Parameters:
[in]viThe handle of autofill for the saving view
[out]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation failure

Gets the title of the view having autofill entries.

Since :
5.5
Remarks:
view_title must be released using free().
Parameters:
[in]viThe handle of autofill for the saving view
[out]view_titleThe view title
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]viThe handle of autofill for the saving view
[in]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]viThe handle of autofill for the saving view
[in]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]viThe handle of autofill for the saving view
[in]view_titleThe view title
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Adds autofill item in autofill view information.

Since :
5.5
Parameters:
[in]viThe autofill view info handle
[in]itThe autofill item handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter

Creates autofill view information.

Since :
5.5
Remarks:
If the function succeeds, vi handle must be released with autofill_view_info_destroy().
Parameters:
[out]viThe autofill view info handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OUT_OF_MEMORYOut of memory

Destroys autofill view information.

Since :
5.5
Parameters:
[in]viThe autofill view info handle
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]viThe autofill view info handle
[in]callbackThe callback function to register
[in]user_dataThe user data to be passed to the callback function
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]viThe autofill view info handle
[out]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]viThe autofill view info handle
[out]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter
AUTOFILL_ERROR_OPERATION_FAILEDOperation 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]viThe autofill view info handle
[in]app_idThe app ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid 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]viThe autofill view info handle
[in]view_idThe view ID
Returns:
0 on success, otherwise a negative error value
Return values:
AUTOFILL_ERROR_NONENo error
AUTOFILL_ERROR_INVALID_PARAMETERInvalid parameter