//
-// Open Service Platform
// Copyright (c) 2013 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
* @privilege %http://tizen.org/privilege/account.write
*
* @return An error code
- * @param[in,out] account The account to add
- * @exception E_SUCCESS The method is successful.
- * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_INVALID_ARG Either of the following conditions has occurred: @n
- * - The user name is an empty string in the specified @c account. @n
- * - The account ID is not #INVALID_ACCOUNT_ID. @n
- * @exception E_INVALID_OPERATION Either of the following conditions has occurred: @n
- * - The caller application does not belong to a package of an application that registers its own account provider. @n
- * - The account has already been added with the multiple accounts support set to @c false.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @param[in,out] account The account to add
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_INVALID_ARG Either of the following conditions has occurred: @n
+ * - The user name is an empty string in the specified @c account. @n
+ * - The account ID is not #INVALID_ACCOUNT_ID. @n
+ * @exception E_INVALID_OPERATION Either of the following conditions has occurred: @n
+ * - The caller application does not belong to a package of an application that registers its own account provider. @n
+ * - The account has already been added with the multiple accounts support set to @c false.
+ * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
*/
result AddAccount(Account& account);
* @privilege %http://tizen.org/privilege/account.write
*
* @return An error code
- * @param[in] accountId The account ID
- * @exception E_SUCCESS The method is successful.
- * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_INVALID_ARG The specified @c accountId is invalid.
- * @exception E_OBJ_NOT_FOUND The specified @c accountId does not exist.
- * @exception E_INVALID_OPERATION This operation is not allowed if the caller application does not belong to a package of an application that registers its own account provider.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @param[in] accountId The account ID
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_INVALID_ARG The specified @c accountId is invalid.
+ * @exception E_OBJ_NOT_FOUND The specified @c accountId does not exist.
+ * @exception E_INVALID_OPERATION This operation is not allowed if the caller application does not belong to a package of an application that registers its own account provider.
+ * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
*/
result RemoveAccount(AccountId accountId);
* @privilege %http://tizen.org/privilege/account.write
*
* @return An error code
- * @param[in] account The account to update
- * @exception E_SUCCESS The method is successful.
- * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_INVALID_ARG Either of the following conditions has occurred: @n
- * - The user name is an empty string in the specified @c account. @n
- * - The account ID is invalid. @n
- * @exception E_OBJ_NOT_FOUND The specified @c account does not exist.
- * @exception E_INVALID_OPERATION This operation is not allowed if the caller application does not belong to a package of an application that registers its own account provider.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @param[in] account The account to update
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_INVALID_ARG Either of the following conditions has occurred: @n
+ * - The user name is an empty string in the specified @c account. @n
+ * - The account ID is invalid. @n
+ * @exception E_OBJ_NOT_FOUND The specified @c account does not exist.
+ * @exception E_INVALID_OPERATION This operation is not allowed if the caller application does not belong to a package of an application that registers its own account provider.
+ * @exception E_USER_NOT_CONSENTED The user blocks an application from calling this method.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
*/
result UpdateAccount(const Account& account);