int noti_ex_item_button_get_title(noti_ex_item_h handle, char **title);
/**
- * @brief Sets the multi language handle for the title of a button item.
- * @since_tizen 5.5
- * @param[in] handle The notification_ex item handle
- * @param[in] lang The notification_ex_multi_lang handle
- * @return #NOTI_EX_ERROR_NONE On success, other value on failure
- * @retval #NOTI_EX_ERROR_NONE Success
- * @retval #NOTI_EX_ERROR_INVALID_PARAMETER Invalid parameter, if the item type is not correct, this error is returned
- * @see #noti_ex_multi_lang_h
- * @see noti_ex_item_button_create()
- * @par Sample code:
- * @code
-#include <notification_ex.h>
-
-{
- int ret;
- noti_ex_item_h button_item = NULL;
- noti_ex_multi_lang_h lang = NULL;
-
- ret = noti_ex_item_button_create(&button_item, "button_id", "button_title");
- ret = noti_ex_multi_lang_create(&lang, "Button 1", "IDS_BUTTON_TITLE", 1);
- ret = noti_ex_item_button_set_multi_language(button_item, lang);
-}
- * @endcode
- */
-int noti_ex_item_button_set_multi_language(noti_ex_item_h handle, noti_ex_multi_lang_h lang);
-
-/**
* @}
*/
int noti_ex_item_checkbox_set_check_state(noti_ex_item_h handle, bool checked);
/**
- * @brief Sets the multi language handle for the title of a checkbox item.
+ * @brief Gets the check state of a checkbox.
* @since_tizen 5.5
* @param[in] handle The notification_ex item handle
- * @param[in] lang The notification_ex_multi_lang handle
+ * @param[out] checked The check state of a checkbox
* @return #NOTI_EX_ERROR_NONE On success, other value on failure
* @retval #NOTI_EX_ERROR_NONE Success
* @retval #NOTI_EX_ERROR_INVALID_PARAMETER Invalid parameter, if the item type is not correct, this error is returned
- * @see #noti_ex_multi_lang_h
+ * @see #noti_ex_item_h
* @see noti_ex_item_checkbox_create()
* @par Sample code:
* @code
{
int ret;
- noti_ex_item_h checkbox_item = NULL;
- noti_ex_multi_lang_h lang = NULL;
-
- noti_ex_item_h text_item = NULL;
+ bool checked;
- ret = noti_ex_item_checkbox_create(&checkbox_item, "checkbox_id", "checkbox_title", false);
- ret = noti_ex_multi_lang_create(&lang, "title 1", "IDS_CHECKBOX_TITLE", 1);
- ret = noti_ex_item_checkbox_set_multi_language(checkbox_item, lang);
+ ret = noti_ex_item_checkbox_is_checked(checkbox_item, &checked);
}
* @endcode
*/
-int noti_ex_item_checkbox_set_multi_language(noti_ex_item_h handle, noti_ex_multi_lang_h lang);
-
int noti_ex_item_checkbox_is_checked(noti_ex_item_h handle, bool *checked);
/**
noti_ex_item_h *item);
/**
- * @brief The notification_ex_nulti_lang handle.
- * @since_tizen 5.5
- */
-typedef void *noti_ex_multi_lang_h;
-
-/**
- * @brief Creates the notification_ex_multi_lang handle for multi language support.
- * @since_tizen 5.5
- * @remarks @a handle must be released using noti_ex_multi_lang_destroy().
- * @param[out] handle The notification_ex_multi_lang handle
- * @param[in] text The basic text
- * @param[in] msg_id The message id for localization
- * @return #NOTI_EX_ERROR_NONE On success, other value on failure
- * @retval #NOTI_EX_ERROR_NONE Success
- * @retval #NOTI_EX_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #NOTI_EX_ERROR_OUT_OF_MEMORY out of memory
- * @see #noti_ex_multi_lang_h
- * @see noti_ex_multi_lang_destroy()
- * @par Sample code:
- * @code
-#include <notification_ex.h>
-
-{
- int ret;
- noti_ex_multi_lang_h lang;
-
- noti_ex_multi_lang_create(&lang, "You get 20 messages.", "IDS_APP_BODY_GET_MESSAGES", 20);
-}
- * @endcode
- */
-int noti_ex_multi_lang_create(noti_ex_multi_lang_h *lang, const char *text, const char *msg_id, ...);
-
-/**
- * @brief Releases the notification_ex_multi_lang handle.
- * @since_tizen 5.5
- * @param[in] handle The notification_ex_multi_lang handle
- * @return #NOTI_EX_ERROR_NONE On success, other value on failure
- * @retval #NOTI_EX_ERROR_NONE Success
- * @retval #NOTI_EX_ERROR_INVALID_PARAMETER Invalid parameter
- * @see #noti_ex_multi_lang_h
- * @par Sample code:
- * @code
-#include <notification_ex.h>
-
-{
- int ret;
-
- ret = noti_ex_multi_lang_destroy(lang);
-}
- * @endcode
- */
-int noti_ex_multi_lang_destroy(noti_ex_multi_lang_h lang);
-
-
-/**
* @}
*/
int noti_ex_item_text_get_hyperlink(noti_ex_item_h handle, char **hyperlink);
/**
- * @brief Sets the multi language handle for the title of a text item.
- * @since_tizen 5.5
- * @param[in] handle The notification_ex item handle
- * @param[in] lang The notification_ex_multi_lang handle
- * @return #NOTI_EX_ERROR_NONE On success, other value on failure
- * @retval #NOTI_EX_ERROR_NONE Success
- * @retval #NOTI_EX_ERROR_INVALID_PARAMETER Invalid parameter, if the item type is not correct, this error is returned
- * @see #noti_ex_multi_lang_h
- * @see noti_ex_item_text_create()
- * @par Sample code:
- * @code
-#include <notification_ex.h>
-
-{
- int ret;
- noti_ex_item_h text_item = NULL;
- noti_ex_multi_lang_h lang = NULL;
-
- noti_ex_item_h text_item = NULL;
-
- ret = noti_ex_item_text_create(&text_item, "text_id", "title", "hyperlink");
- ret = noti_ex_multi_lang_create(&lang, "title 1", "IDS_TEXT_TITLE", 1);
- ret = noti_ex_item_text_set_multi_language(text_item, lang);
-}
- * @endcode
- */
-int noti_ex_item_text_set_multi_language(noti_ex_item_h handle, noti_ex_multi_lang_h lang);
-
-/**
* @}
*/