//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
* @since 2.0
*
* @return @c true if the value of the specified instance of Tizen::Base::Object is equal to the value of the current instance of %Tizen::Base::Object, @n
- * else @c false
+ * else @c false
* @param[in] rhs An instance of Tizen::Base::Object to compare
*/
virtual bool Equals(const Tizen::Base::Object& rhs) const;
Tizen::Base::String GetDisplayName(void) const;
/**
- * Checks whether this is a favorite or not.
+ * Checks whether this is a favorite.
*
* @since 2.0
*
* @since 2.0
*
* @return The file path of the thumbnail
- * @remarks If the thumbnail path has not been set, empty string is returned.
+ * @remarks If the thumbnail path has not been set, an empty string is returned.
*/
Tizen::Base::String GetThumbnailPath(void) const;
* @since 2.0
*
* @return The file path of the ringtone
- * @remarks If the ringtone path has not been set, empty string is returned.
+ * @remarks If the ringtone path has not been set, an empty string is returned.
*/
Tizen::Base::String GetRingtonePath(void) const;
/**
- * Checks whether this has phone numbers or not.
+ * Checks whether this has phone numbers.
*
* @since 2.0
*
bool HasPhoneNumber(void) const;
/**
- * Checks whether this has emails or not.
+ * Checks whether this has emails.
*
* @since 2.0
*
bool HasEmail(void) const;
/**
- * Gets the list of account ID of contacts linked to the person.
+ * Gets the list of account IDs, of contacts linked to the person.
*
* @since 2.0
*
* @return The account ID list
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The specific error code can be accessed using the GetLastResult() method.
*/
Tizen::Base::Collection::IListT<AccountId>* GetAccountIdsN(void) const;
PersonId GetId(void) const;
/**
- * Sets whether this person is a favorite or not.
+ * Sets whether this person is a favorite.
*
* @since 2.0
* @privlevel public
* @privilege %http://tizen.org/privilege/contact.write
*
* @return An error code
- * @param[in] isFavorite Set to @c true to set this person as a favorite, @n
- * else @c false to set this person as non-favorite
+ * @param[in] isFavorite Set to @c true to set this person as a favorite, @n
+ * else @c false to set this person as a non-favorite
* @exception E_SUCCESS The method is successful.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @exception E_USER_NOT_CONSENTED The user has blocked the application from calling this method. @b Since: @b 2.1
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @see IsFavorite()
* @see AddressbookManager::GetFavoritePersonsN()
*/
* @privilege %http://tizen.org/privilege/contact.write
*
* @return An error code
- * @param[in] phoneNumber The phone number
- * @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 phoneNumber is invalid.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @param[in] phoneNumber The phone number
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_USER_NOT_CONSENTED The user has blocked the application from calling this method. @b Since: @b 2.1
+ * @exception E_INVALID_ARG The specified @c phoneNumber is invalid.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @see GetPrimaryPhoneNumber()
*/
result SetAsPrimaryPhoneNumber(const PhoneNumber& phoneNumber);
* @privilege %http://tizen.org/privilege/contact.write
*
* @return An error code
- * @param[in] email The email
- * @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 phoneNumber is invalid.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @param[in] email The email
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_USER_NOT_CONSENTED The user has blocked the application from calling this method. @b Since: @b 2.1
+ * @exception E_INVALID_ARG The specified @c phoneNumber is invalid.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @see GetPrimaryEmail()
*/
result SetAsPrimaryEmail(const Email& email);
* @privlevel public
* @privilege %http://tizen.org/privilege/contact.read
*
- * @return The primary phone number @n If this instance does not have the primary email, an empty PhoneNumber instance is returned.
- * @exception E_SUCCESS The method is successful.
- * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @return The primary phone number @n If this instance does not have a primary email, an empty PhoneNumber instance is returned.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_USER_NOT_CONSENTED The user has blocked the application from calling this method. @b Since: @b 2.1
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The specific error code can be accessed using the GetLastResult() method.
* @see SetAsPrimaryPhoneNumber()
*/
* @privlevel public
* @privilege %http://tizen.org/privilege/contact.read
*
- * @return The primary email @n If this instance does not have the primary email, an empty Email instance is returned.
- * @exception E_SUCCESS The method is successful.
- * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @return The primary email @n If this instance does not have a primary email, an empty Email instance is returned.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
+ * @exception E_USER_NOT_CONSENTED The user has blocked the application from calling this method. @b Since: @b 2.1
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @remarks The specific error code can be accessed using the GetLastResult() method.
* @see SetAsPrimaryEmail()
*/