Remove conditional statements for Mobile & Wearable profile 09/302809/1
authorKrishna Kant Jaju <krishna.jaju@samsung.com>
Thu, 14 Dec 2023 03:53:04 +0000 (09:23 +0530)
committerKrishna Kant Jaju <krishna.jaju@samsung.com>
Thu, 14 Dec 2023 03:54:00 +0000 (09:24 +0530)
Change-Id: I51d0348f02658572b68399b5f5cf09e37b0cc0e0
Signed-off-by: Krishna Kant Jaju <krishna.jaju@samsung.com>
include/account-error.h
include/account-types.h
include/account.h

index bc61a45..8273e66 100644 (file)
@@ -38,7 +38,7 @@ extern "C"
 
 /**
  *  @brief    Enumerations of error codes for ACCOUNT APIs.
- *  @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ *  @since_tizen 2.3
  */
 typedef enum {
        ACCOUNT_ERROR_NONE                  = TIZEN_ERROR_NONE,                   /**< Successful */
index 2877f73..61bf7be 100644 (file)
@@ -38,7 +38,7 @@ extern "C"
 
 /**
  * @brief  Enumeration for the state of capability.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        ACCOUNT_CAPABILITY_STATE_INVALID = 0, /**< Account capability is invalid */
@@ -49,7 +49,7 @@ typedef enum {
 
 /**
  * @brief  Enumeration for the state of account secrecy.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        ACCOUNT_SECRECY_INVALID = 0, /**< Account secrecy is invalid */
@@ -60,7 +60,7 @@ typedef enum {
 
 /**
  * @brief  Enumeration for the account sync status.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        ACCOUNT_SYNC_INVALID = 0, /**< Account sync is invalid */
@@ -75,7 +75,7 @@ typedef enum {
 
 /**
  * @brief  Enumeration for the account auth type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef enum {
        ACCOUNT_AUTH_TYPE_INVALID = 0, /**< Auth type is invalid */
@@ -87,31 +87,31 @@ typedef enum {
 
 /**
  * @brief  The structure type for the Account handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef struct account_s *account_h;
 
 /**
  * @brief  The structure type for the Account provider handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef struct account_type_s *account_type_h;
 
 /**
  * @brief  The structure type for the Account handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef struct label_s *label_h;
 
 /**
  * @brief  The structure type for the Account subscribe handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  */
 typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        The insert notification type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      When the account database is changed, You can distinguish one event type from the other which are set for subscribing notification.
  *
  * @see account_subscribe_notification()
@@ -120,7 +120,7 @@ typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        The update notification type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      When the account database is changed, You can distinguish one event type from the other which are set for subscribing notification.
  *
  * @see account_subscribe_notification()
@@ -129,7 +129,7 @@ typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        The delete notification type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      When the account database is changed, You can distinguish one event type from the other which are set for subscribing notification.
  *
  * @see account_subscribe_notification()
@@ -138,7 +138,7 @@ typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        The sync_update notification type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      When the account database is changed, You can distinguish one event type from the other which are set for subscribing notification.
  *
  * @see account_subscribe_notification()
@@ -148,7 +148,7 @@ typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        This is a key of app_control_h’s extra data. The value of the key is a user account name.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      You can retrieve the value like this, app_control_get_extra_data(app_control, ACCOUNT_DATA_USERNAME, &username).\n
  *               This value will be sent with ACCOUNT_OPERATION_VIEW.
  */
@@ -156,7 +156,7 @@ typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        This is a key of app_control_h’s extra data. The value of the key is account DB ID of the user’s account information.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      You can retrieve the value like this, app_control_get_extra_data(app_control, ACCOUNT_DATA_ID, &id).\n
  *               This value will be sent with ACCOUNT_OPERATION_VIEW.
  */
@@ -164,77 +164,77 @@ typedef struct account_subscribe_s *account_subscribe_h;
 
 /**
  * @brief        This is an application launch operation name.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      This operation will be sent when a user selects your account in add account view.
  */
 #define ACCOUNT_OPERATION_SIGNIN                          "http://tizen.org/appcontrol/operation/account/add"
 
 /**
  * @brief        This is an application launch operation name.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      This operation will be sent when a user selects your account in account list view.
  */
 #define ACCOUNT_OPERATION_VIEW                            "http://tizen.org/appcontrol/operation/account/configure"
 
 /**
  * @brief        This is contact capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service has contact information and contact information is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_CONTACT               "http://tizen.org/account/capability/contact"
 
 /**
  * @brief        This is calendar capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service has calendar information and calendar information is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_CALENDAR              "http://tizen.org/account/capability/calendar"
 
 /**
  * @brief        This is email capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service have email service and email is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_EMAIL                 "http://tizen.org/account/capability/email"
 
 /**
  * @brief        This is photo capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service has photo and photo is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_PHOTO                 "http://tizen.org/account/capability/photo"
 
 /**
  * @brief        This is video capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service has video and video is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_VIDEO                 "http://tizen.org/account/capability/video"
 
 /**
  * @brief        This is music capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service has music and music is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_MUSIC                 "http://tizen.org/account/capability/music"
 
 /**
  * @brief        This is document capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      If your provider service has document and document is provided another application, register this capability through manifest file.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_DOCUMENT                 "http://tizen.org/account/capability/document"
 
 /**
  * @brief        This is message capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      This capability will be exploited to use SMS, MMS.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_MESSAGE               "http://tizen.org/account/capability/message"
 
 /**
  * @brief        This is game capability string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks      This capability will be exploited to use game data.
  */
 #define ACCOUNT_SUPPORTS_CAPABILITY_GAME               "http://tizen.org/account/capability/game"
index c5e7032..47cf9f6 100644 (file)
@@ -44,7 +44,7 @@ extern "C"
 /**
  * @brief   Called once for each account from the database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account    The account handle
  * @param[in]  user_data  The user data passed from the foreach function
  *
@@ -63,7 +63,7 @@ typedef bool (*account_cb)(account_h account, void *user_data);
 /**
  * @brief  Called once for each capability of an account in the database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   capability_type  The capability type
  * @param[in]   capability_state The capability state
  * @param[in]   user_data        The user data passed from the foreach function
@@ -80,7 +80,7 @@ typedef bool (*capability_cb)(const char *capability_type, account_capability_st
 /**
  * @brief  Called once for each custom data of an account in the database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  key        The user custom key
  * @param[in]  value      The user custom value of the specific key
  * @param[in]  user_data  The user data passed
@@ -98,7 +98,7 @@ typedef bool (*account_custom_cb)(char *key, char *value, void *user_data);
 /**
  * @brief  Called once for each account provider in the database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account_type  The account provider handle
  * @param[in]  user_data     The user data passed
  *
@@ -116,7 +116,7 @@ typedef bool (*account_type_cb)(account_type_h account_type, void *user_data);
 /**
  * @brief  Called once for each account label.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  app_id     The application ID
  * @param[in]  label      The name of the account depends on the specified locale
  * @param[in]  locale     The locale is specified as an ISO 3166 alpha-2 two letter country-code followed by ISO 639-1 for the two-letter language code.\n
@@ -137,7 +137,7 @@ typedef bool (*account_label_cb)(char *app_id, char *label, char *locale, void *
 /**
  * @brief  Called once for each capability of an account provider in the database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  app_id     The application ID
  * @param[in]  key        The user custom key
  * @param[in]  user_data  The user data passed
@@ -156,7 +156,7 @@ typedef bool (*provider_feature_cb)(char *app_id, char *key, void *user_data);
 /**
  * @brief Called once when an event occurs.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  event_type  The account event type
  * @param[in]  account_id  The account ID to update
  * @param[in]  user_data   The user data passed
@@ -176,7 +176,7 @@ typedef bool (*account_event_cb)(const char *event_type, int account_id, void *u
  *             This API is not necessary to use since Tizen 2.4.
  * @brief      Connects to the account database by readwrite mode.
  *
- * @since_tizen @if MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -195,7 +195,7 @@ int account_connect(void) TIZEN_DEPRECATED_API;
  *             This API is not necessary to use since Tizen 2.4.
  * @brief      Connects to the account database by readonly mode.
  *
- * @since_tizen @if MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @return     @c 0 on success,
  *             otherwise a negative error value
  * @retval     #ACCOUNT_ERROR_NONE               Successful
@@ -210,7 +210,7 @@ int account_connect_readonly(void) TIZEN_DEPRECATED_API;
  *             This API is not necessary to use since Tizen 2.4.
  * @brief      Disconnects from the account database.
  *
- * @since_tizen @if MOBILE 2.3 @endif
+ * @since_tizen 2.3
  * @return     @c 0 on success,
  *             otherwise a negative error value
  * @retval     #ACCOUNT_ERROR_NONE               Successful
@@ -222,7 +222,7 @@ int account_disconnect(void) TIZEN_DEPRECATED_API;
 /**
  * @brief  Creates a handle to the account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    Release @a account using account_destroy().
  * @remarks    The created handle is not added to the account database until account_insert_to_db() is called.
  *
@@ -243,7 +243,7 @@ int account_create(account_h *account);
 /**
  * @brief  Destroys the account handle and releases all its resources.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account  The account handle
  *
  * @return     @c 0 on success,
@@ -260,7 +260,7 @@ int account_destroy(account_h account);
 /**
  * @brief  Inserts the account details to the account database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read \n
  *              %http://tizen.org/privilege/account.write
@@ -297,7 +297,7 @@ int account_insert_to_db(account_h account, int *account_db_id);
 /**
  * @brief  Deletes an account from the account database by account DB ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -331,7 +331,7 @@ int account_delete_from_db_by_id(int account_db_id);
 /**
  * @brief  Deletes an account from the account database by user name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -366,7 +366,7 @@ int account_delete_from_db_by_user_name(char *user_name, char *package_name);
 /**
  * @brief  Deletes an account from the account database by package name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -398,7 +398,7 @@ int account_delete_from_db_by_package_name(const char *package_name);
 /**
  * @brief  Updates the account details to the account database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -433,7 +433,7 @@ int account_update_to_db_by_id(account_h account, int account_id);
  * @brief      Updates the account details to the account database.
  *             The provider permission check has been added since tizen 2.4.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -468,7 +468,7 @@ int account_update_to_db_by_id_ex(account_h account, int account_id);
 /**
  * @brief  Updates the account details to the account database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read \n
  *             %http://tizen.org/privilege/account.write
@@ -504,7 +504,7 @@ int account_update_to_db_by_user_name(account_h account, const char *user_name,
 /**
  * @brief  Gets the ID of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account     The account handle
  * @param[out]  account_id  The account ID
  *
@@ -520,7 +520,7 @@ int account_get_account_id(account_h account, int *account_id);
 /**
  * @brief  Gets the user name of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a user_name using free().
  *
  * @param[in]   account    The account handle
@@ -541,7 +541,7 @@ int account_get_user_name(account_h account, char **user_name);
 /**
  * @brief  Sets the user name of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account    The account handle
  * @param[in]  user_name  The string to set as user name
  *
@@ -559,7 +559,7 @@ int account_set_user_name(account_h account, const char *user_name);
 /**
  * @brief  Gets the display name of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a display_name using free().
  *
  * @param[in]   account       The account handle
@@ -580,7 +580,7 @@ int account_get_display_name(account_h account, char **display_name);
 /**
  * @brief  Sets the display name of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account      The account handle
  * @param[in]  display_name The text string to set as the display name
  *
@@ -596,7 +596,7 @@ int account_set_display_name(account_h account, const char *display_name);
 /**
  * @brief  Gets the capability detail of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account           The account handle
  * @param[in]   capability_type   The capability type to get the capability value
  * @param[out]  capability_value  The capability value (on/off) of the specified capability_type
@@ -615,7 +615,7 @@ int account_get_capability(account_h account, const char *capability_type, accou
 /**
  * @brief  Gets all the capabilities of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account    The account handle
  * @param[in]  callback   The callback function
  * @param[in]  user_data  The user data to be passed to the callback function
@@ -633,7 +633,7 @@ int account_get_capability_all(account_h account, capability_cb callback, void *
 /**
  * @brief  Sets the capability.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account           The account handle
  * @param[in]  capability_type   The capability type
  * @param[in]  capability_state  The capability state
@@ -652,7 +652,7 @@ int account_set_capability(account_h account, const char *capability_type, accou
 /**
  * @brief  Gets the icon path.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a icon_path using free().
  *
  * @param[in]   account    The account handle
@@ -673,7 +673,7 @@ int account_get_icon_path(account_h account, char **icon_path);
 /**
  * @brief  Sets the icon path.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account    The account handle
  * @param[in]  icon_path  The text string to set as the icon path
  *
@@ -691,7 +691,7 @@ int account_set_icon_path(account_h account, const char *icon_path);
 /**
  * @brief  Gets the domain name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a domain_name using free().
  *
  * @param[in]   account      The account handle
@@ -712,7 +712,7 @@ int account_get_domain_name(account_h account, char **domain_name);
 /**
  * @brief  Sets the domain name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account      The account handle
  * @param[in]  domain_name  The text string to set as the domain name
  *
@@ -730,7 +730,7 @@ int account_set_domain_name(account_h account, const char *domain_name);
 /**
  * @brief  Gets the email address.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a email_address using free().
  *
  * @param[in]   account        The account handle
@@ -751,7 +751,7 @@ int account_get_email_address(account_h account, char **email_address);
 /**
  * @brief  Sets the email address.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account        The account handle
  * @param[in]  email_address  The text string to set as the email address
  *
@@ -769,7 +769,7 @@ int account_set_email_address(account_h account, const char *email_address);
 /**
  * @brief  Gets the package name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a package_name using free().
  *
  * @param[in]   account       The account handle
@@ -790,7 +790,7 @@ int account_get_package_name(account_h account, char **package_name);
 /**
  * @brief  Sets the package name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account       The account handle
  * @param[in]  package_name  The text string to set as the package name
  *
@@ -808,7 +808,7 @@ int account_set_package_name(account_h account, const char *package_name);
 /**
  * @brief  Gets the access token. Access token field is used to store account secrets (such as password or master token).
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a access_token using free().
  * @remarks    Access token field is used for storing account secret (password / master token etc)
  *
@@ -831,7 +831,7 @@ int account_get_access_token(account_h account, char **access_token);
 /**
  * @brief  Sets the access token. Access token field is used to store account secrets (such as password or master token).
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    Only account owner application can retrieve account password / access_token. For others this field will be null.
  *
  * @param[in]  account       The account handle
@@ -850,7 +850,7 @@ int account_set_access_token(account_h account, const char *access_token);
 /**
  * @brief  Gets the user text.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a user_text using free().
  *
  * @param[in]   account          The account handle
@@ -872,7 +872,7 @@ int account_get_user_text(account_h account, int user_text_index, char **user_te
 /**
  * @brief  Sets the user text.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account          The account handle
  * @param[in]  user_text_index  The index of the user text (must be in range from @c 0 to @c 4)
  * @param[in]  user_text        The text string to set as the user text
@@ -891,7 +891,7 @@ int account_set_user_text(account_h account, int user_text_index, const char *us
 /**
  * @brief  Gets the user integer.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account         The account handle
  * @param[in]   user_int_index  The index of the user integer (must be in range from @c 0 to @c 4)
  * @param[out]  user_integer    The user integer
@@ -910,7 +910,7 @@ int account_get_user_int(account_h account, int user_int_index, int *user_intege
 /**
  * @brief  Sets the user integer.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account         The account handle
  * @param[in]  user_int_index  The index of the user integer (must be in range from @c 0 to @c 4)
  * @param[in]  user_integer    The integer to set as the user integer
@@ -929,7 +929,7 @@ int account_set_user_int(account_h account, int user_int_index, int user_integer
 /**
  * @brief  Gets the authentication type.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account    The account handle
  * @param[out]  auth_type  The authentication type
  *
@@ -947,7 +947,7 @@ int account_get_auth_type(account_h account, account_auth_type_e *auth_type);
 /**
  * @brief  Sets the authentication type.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
   * @param[in]  account    The account handle
  * @param[in]  auth_type  The integer to be set as the authentication type
  *
@@ -965,7 +965,7 @@ int account_set_auth_type(account_h account, const account_auth_type_e auth_type
 /**
  * @brief  Gets the secret.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account  The account handle
  * @param[out]  secret   The secret
  *
@@ -983,7 +983,7 @@ int account_get_secret(account_h account, account_secrecy_state_e *secret);
 /**
  * @brief  Sets the secret.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account  The account handle
  * @param[in]  secret   The secrecy to be set
  *
@@ -1000,7 +1000,7 @@ int account_set_secret(account_h account, const account_secrecy_state_e secret);
 /**
  * @brief  Gets the sync support.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account       The account handle
  * @param[out]  sync_support  The sync support
  *
@@ -1018,7 +1018,7 @@ int account_get_sync_support(account_h account, account_sync_state_e *sync_suppo
 /**
  * @brief  Sets the sync support.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account       The account handle
  * @param[in]  sync_support  The sync state to be set
  *
@@ -1036,7 +1036,7 @@ int account_set_sync_support(account_h account, const account_sync_state_e sync_
 /**
  * @brief  Gets the source.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a source using free().
  *
  * @param[in]   account  The account handle
@@ -1057,7 +1057,7 @@ int account_get_source(account_h account, char **source);
 /**
  * @brief  Sets the source.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account  The account handle
  * @param[in]  source   The text string to set as the source
  *
@@ -1074,7 +1074,7 @@ int account_set_source(account_h account, const char *source);
 /**
  * @brief  Sets the custom.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account  The account handle
  * @param[in]  key      The user custom key for the specific value
  * @param[in]  value    The user custom value about the given key
@@ -1092,7 +1092,7 @@ int account_set_custom(account_h account, const char *key, const char *value);
 /**
  * @brief  Gets the user specific custom text of an account key.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a value using free().
  *
  * @param[in]   account   The account handle
@@ -1114,7 +1114,7 @@ int account_get_custom(account_h account, const char *key, char **value);
 /**
  * @brief  Gets all the user custom texts of an account.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]  account    The account handle
  * @param[in]  callback   The callback function to retrieve all custom text \n
  *                        The callback function gives the key and value.
@@ -1133,7 +1133,7 @@ int account_get_custom_all(account_h account, account_custom_cb callback, void *
 /**
  * @brief  Retrieves all accounts details by invoking the given callback function iteratively.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback   The callback function to invoke
@@ -1164,7 +1164,7 @@ int account_foreach_account_from_db(account_cb callback, void *user_data);
 /**
  * @brief  Retrieves an account with the account ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @remarks     You must allocate @a account using account_create() and release using account_destroy().
@@ -1224,7 +1224,7 @@ int account_query_deleted_account_info_by_account_id(int account_db_id, account_
 /**
  * @brief  Retrieves all accounts with the user name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback   The callback function to invoke
@@ -1257,7 +1257,7 @@ int account_query_account_by_user_name(account_cb callback, const char *user_nam
 /**
  * @brief  Retrieves all accounts with the package name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/account.read
  * @param[in]  callback      The callback function to invoke
@@ -1289,7 +1289,7 @@ int account_query_account_by_package_name(account_cb callback, const char *packa
 /**
  * @brief  Retrieves all accounts with the capability type and capability value.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback          The callback function to invoke
@@ -1322,7 +1322,7 @@ int account_query_account_by_capability(account_cb callback, const char *capabil
 /**
  * @brief  Retrieves all accounts with the capability type.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback         The callback function to invoke
@@ -1354,7 +1354,7 @@ int account_query_account_by_capability_type(account_cb callback, const char *ca
 /**
  * @brief  Retrieves all capabilities with the account database ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback       The callback function to invoke
@@ -1385,7 +1385,7 @@ int account_query_capability_by_account_id(capability_cb callback, int account_d
 /**
  * @brief  Gets the count of accounts in the account database.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[out]  count  The out parameter for count of all accounts
@@ -1407,7 +1407,7 @@ int account_get_total_count_from_db(int *count);
 /**
  * @brief  Updates the sync status of an account with the given account ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read \n
  *              %http://tizen.org/privilege/account.write
@@ -1439,7 +1439,7 @@ int account_update_sync_status_by_id(int account_db_id, const account_sync_state
 /**
  * @brief  Creates a handle to the account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks     You must release @a account_type handle using account_type_destroy().\n
  *
  * @param[in]  account_type  The account provider handle
@@ -1458,7 +1458,7 @@ int account_type_create(account_type_h *account_type);
 /**
  * @brief  Destroys the account provider handle and releases all its resources.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  *
  * @remarks    When you get @a account_type using account_type_create(), you must release the handle using account_destroy() to avoid the memory leak.
  *
@@ -1477,7 +1477,7 @@ int account_type_destroy(account_type_h account_type);
 /**
  * @brief  Retrieves capability information with your application ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback   The callback function carries the capability name of an app ID
@@ -1503,7 +1503,7 @@ int account_type_query_provider_feature_by_app_id(provider_feature_cb callback,
 /**
  * @brief   Checks whether the given application ID supports the capability.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @remarks     The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
@@ -1532,7 +1532,7 @@ bool account_type_query_supported_feature(const char *app_id, const char *capabi
 /**
  * @brief  Gets the application ID of an account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks     You must release @a app_id using free().
  *
  * @param[in]   account_type  The account provider handle \n
@@ -1554,7 +1554,7 @@ int account_type_get_app_id(account_type_h account_type, char **app_id);
 /**
  * @brief  Gets the service provider ID of an account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks     You must release @a service_provider_id using free().
  *
  * @param[in]   account_type         The account provider handle \n
@@ -1576,7 +1576,7 @@ int account_type_get_service_provider_id(account_type_h account_type, char **ser
 /**
  * @brief  Gets the icon path of an account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks     You must release @a icon_path using free().
  *
  * @param[in]   account_type  The account provider handle \n
@@ -1598,7 +1598,7 @@ int account_type_get_icon_path(account_type_h account_type, char **icon_path);
 /**
  * @brief  Gets the small icon path of an account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a small_icon_path using free().
  *
  * @param[in]   account_type     The account provider handle\n
@@ -1620,7 +1620,7 @@ int account_type_get_small_icon_path(account_type_h account_type, char **small_i
 /**
  * @brief  Checks whether the given account provider supports multiple accounts.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account_type              The account provider handle \n
  *                                        It should be given by account_type_query_* functions or account_type_foreach_account_type_from_db().
  * @param[out]  multiple_account_support  The flag indicating support for multiple accounts accounts\n
@@ -1641,7 +1641,7 @@ int account_type_get_multiple_account_support(account_type_h account_type, int *
 /**
  * @brief  Gets capability information with the given account provider handle.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account_type  The account provider handle\n
  *                            It should be given by account_type_query_* functions or account_type_foreach_account_type_from_db().
  * @param[in]   callback      The callback function that carries the capability name of the app ID
@@ -1663,7 +1663,7 @@ int account_type_get_provider_feature_all(account_type_h account_type, provider_
 /**
  * @brief  Gets the specific label information detail of an account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks    You must release @a label using free().
  *
  * @param[in]   account_type The account provider handle\n
@@ -1688,7 +1688,7 @@ int account_type_get_label_by_locale(account_type_h account_type, const char *lo
 /**
  * @brief  Gets the label information detail of an account provider.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @param[in]   account_type  The account provider handle\n
  *                            It should be given by account_type_query_* functions or account_type_foreach_account_type_from_db().
  * @param[in]   callback      The callback function carrying the label information
@@ -1708,7 +1708,7 @@ int account_type_get_label(account_type_h account_type, account_label_cb callbac
 /**
  * @brief  Retrieves the label information with your application ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback    The callback function that carries label_h for label information \n
@@ -1738,7 +1738,7 @@ int account_type_query_label_by_app_id(account_label_cb callback, const char *ap
 /**
  * @brief  Retrieves the account provider information with your application ID.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel     public
  * @privilege     %http://tizen.org/privilege/account.read
  * @param[in]     app_id        The application ID to search
@@ -1772,7 +1772,7 @@ int account_type_query_by_app_id(const char *app_id, account_type_h *account_typ
 /**
  * @brief  Retrieves all account provider information.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback   The account provider information \n
@@ -1807,7 +1807,7 @@ int account_type_foreach_account_type_from_db(account_type_cb callback, void *us
 /**
  * @brief  Retrieves the label information with the given application ID and locale.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   app_id  The application ID
@@ -1834,7 +1834,7 @@ int account_type_query_label_by_locale(const char *app_id, const char *locale, c
 /**
  * @brief  Retrieves account provider information with the capability name.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   callback        The callback function to retrieve account provider information
@@ -1861,7 +1861,7 @@ int account_type_query_by_provider_feature(account_type_cb callback, const char
 /**
  * @brief  Checks whether the given app_id exists in the account provider DB.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read
  * @param[in]   app_id  The application ID to check
@@ -1891,7 +1891,7 @@ int account_type_query_app_id_exist(const char *app_id);
 /**
  * @brief  Creates a handle for the account event subscription.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @remarks     You must release @a account_subscribe handle using account_unsubscribe_notification().
  *
  * @param[in]   account_subscribe  The account subscription handle
@@ -1911,7 +1911,7 @@ int account_subscribe_create(account_subscribe_h *account_subscribe);
 /**
  * @brief  Starts to subscribe account event through the given callback function.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read \n
  * @param[in]   account_subscribe  The account subscription handle
@@ -1933,7 +1933,7 @@ int account_subscribe_notification(account_subscribe_h account_subscribe, accoun
 /**
  * @brief  Destroys the account subscribe handle and releases all its resources.
  *
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
+ * @since_tizen 2.3
  * @privlevel   public
  * @privilege   %http://tizen.org/privilege/account.read \n
  * @remarks     You must call account_unsubscribe_notification() when you do not need to subscribe account event.