/**
* @ingroup CAPI_APPLICATION_FRAMEWORK
- * @defgroup WATCHFACE_COMPLICATION_MODULE Watchface complication
+ * @defgroup WATCHFACE_COMPLICATION_MODULE Watchface complication (Deprecated)
* @brief The watchface complication provides feature to receive and request watchface complication data.
* It also provides editable management feature to request edit for complication and design elements to editor.
* @section WATCHFACE_COMPLICATION_MODULE_HEADER Required Header
/**
* @ingroup WATCHFACE_COMPLICATION_MODULE
- * @defgroup WATCHFACE_COMPLICATION_COMPLICATION_MODULE Watchface complication
+ * @defgroup WATCHFACE_COMPLICATION_COMPLICATION_MODULE Watchface complication (Deprecated)
* @brief All watch applications can request data shared by other watchface complication provider applications using watchface complication.
* @section WATCHFACE_COMPLICATION_COMPLICATION_MODULE_HEADER Required Header
* \#include <watchface-complication.h>
/**
* @ingroup WATCHFACE_COMPLICATION_MODULE
- * @defgroup WATCHFACE_COMPLICATION_EDITABLE_MODULE Watchface editable
+ * @defgroup WATCHFACE_COMPLICATION_EDITABLE_MODULE Watchface editable (Deprecated)
* @brief All watch applications can request editing for their resources like complication and design elements to editor using watchface editable.
* @section WATCHFACE_COMPLICATION_EDITABLE_MODULE_HEADER Required Header
* \#include <watchface-editable.h>
/**
* @ingroup WATCHFACE_COMPLICATION_MODULE
- * @defgroup WATCHFACE_COMPLICATION_PROVIDER_MODULE Watchface complication provider
+ * @defgroup WATCHFACE_COMPLICATION_PROVIDER_MODULE Watchface complication provider (Deprecated)
* @brief All service applications can receive data request from the watch application and sends data to the watchface application using watchface complication provider.
* @section WATCHFACE_COMPLICATION_PROVIDER_MODULE Required Header
* \#include <watchface-complication-provider.h>
*/
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Complication Error.
* @since_tizen 5.0
*/
} watchface_complication_error_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Complication Type.
* @since_tizen 5.0
*/
} watchface_complication_type_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Complication event type.
* @details Watchface should transfer the touch event to complication provider
* to trigger the complication tap action.
} watchface_complication_event_type_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief The complication time information handle.
* @since_tizen 5.5
*/
*/
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when a watchface complication requests data update.
* @details Watchface application which sends an update request will receive
* share_data through watchface_complication_updated_cb()'s data
bundle *share_data, void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the callback function to be executed when the update requested.
* @since_tizen 5.0
* @privlevel public
int watchface_complication_provider_add_update_requested_cb(
const char *provider_id,
watchface_complication_provider_update_requested_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Removes a callback function.
* @since_tizen 5.0
* @param[in] provider_id The id of the provider
*/
int watchface_complication_provider_remove_update_requested_cb(
const char *provider_id,
- watchface_complication_provider_update_requested_cb callback);
+ watchface_complication_provider_update_requested_cb callback) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Notifies to the complication that there is an update.
* @details Complication automatically requests data when notify is received.
* @since_tizen 5.0
* @endcode
*/
int watchface_complication_provider_notify_update(
- const char *updated_provider_id);
+ const char *updated_provider_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sends reply to the editor.
* @details Using this function, setup app can sends new context data to the editor
* @since_tizen 5.0
* @endcode
*/
int watchface_complication_provider_setup_reply_to_editor(app_control_h handle,
- bundle *context);
+ bundle *context) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Checks whether watch app request editing or not.
* @details Using this function, setup app can tell what kind of UI should be displayed
* @since_tizen 5.0
* @endcode
*/
int watchface_complication_provider_setup_is_editing(app_control_h handle,
- bool *is_editing);
+ bool *is_editing) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets provider app's setup context data.
* @details Context data will be passed to the complication provider application
* through the app_control event callback's app_control_h handle parameter
* @endcode
*/
int watchface_complication_provider_setup_get_context(app_control_h handle,
- bundle **context);
+ bundle **context) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets short text data for shared data.
* @since_tizen 5.0
* @remarks @a short_text data can be added only for #WATCHFACE_COMPLICATION_TYPE_SHORT_TEXT,
* @endcode
*/
int watchface_complication_provider_data_set_short_text(bundle *shared_data,
- const char *short_text);
+ const char *short_text) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets long text data for shared data.
* @since_tizen 5.0
* @remarks @a long_text can be added only for #WATCHFACE_COMPLICATION_TYPE_LONG_TEXT type shared data.
* @endcode
*/
int watchface_complication_provider_data_set_long_text(bundle *shared_data,
- const char *long_text);
+ const char *long_text) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets title data for shared data.
* @since_tizen 5.0
* @remarks @a title can be added only for #WATCHFACE_COMPLICATION_TYPE_SHORT_TEXT,
* @endcode
*/
int watchface_complication_provider_data_set_title(bundle *shared_data,
- const char *title);
+ const char *title) TIZEN_DEPRECATED_API;
/**
* @deprecated Deprecated since 5.5. Use watchface_complication_provider_data_set_timeinfo() instead.
long timestamp) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates timeinfo data.
* @since_tizen 5.5
* @remarks @a info can be added only for #WATCHFACE_COMPLICATION_TYPE_TIME type shared data.
}
* @endcode
*/
-int watchface_complication_provider_timeinfo_create(complication_time_info_h *info);
+int watchface_complication_provider_timeinfo_create(complication_time_info_h *info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets timezone information.
* @since_tizen 5.5
* @remarks @a info can be added only for #WATCHFACE_COMPLICATION_TYPE_TIME type shared data.
* @endcode
*/
int watchface_complication_provider_timeinfo_set_timezone(complication_time_info_h info,
- const char *timezone);
+ const char *timezone) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets timezone id.
* @since_tizen 5.5
* @remarks @a info can be added only for #WATCHFACE_COMPLICATION_TYPE_TIME type shared data.
* @endcode
*/
int watchface_complication_provider_timeinfo_set_timezone_id(complication_time_info_h info,
- const char *timezone_id);
+ const char *timezone_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets timezone country information.
* @since_tizen 5.5
* @remarks @a info can be added only for #WATCHFACE_COMPLICATION_TYPE_TIME type shared data.
* @endcode
*/
int watchface_complication_provider_timeinfo_set_timezone_country(complication_time_info_h info,
- const char *country);
+ const char *country) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets timezone city information.
* @since_tizen 5.5
* @remarks @a info can be added only for #WATCHFACE_COMPLICATION_TYPE_TIME type shared data.
* @endcode
*/
int watchface_complication_provider_timeinfo_set_timezone_city(complication_time_info_h info,
- const char *city);
+ const char *city) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys timezone handle.
* @since_tizen 5.5
* @param[in] info The time information handle
}
* @endcode
*/
-int watchface_complication_provider_timeinfo_destroy(complication_time_info_h info);
+int watchface_complication_provider_timeinfo_destroy(complication_time_info_h info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets time information data to shared data.
* @since_tizen 5.5
* @remarks @a info can be added only for #WATCHFACE_COMPLICATION_TYPE_TIME type shared data.
* @endcode
*/
int watchface_complication_provider_data_set_timeinfo(bundle *shared_data,
- complication_time_info_h info);
+ complication_time_info_h info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets image path data for shared data.
* @since_tizen 5.0
* @remarks @a image_path can be added only for #WATCHFACE_COMPLICATION_TYPE_IMAGE type shared data.
* @endcode
*/
int watchface_complication_provider_data_set_image_path(bundle *shared_data,
- const char *image_path);
+ const char *image_path) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets ranged value data for shared data.
* @since_tizen 5.0
* @remarks @a min_value, @a max_value, @a current_value can be added only for #WATCHFACE_COMPLICATION_TYPE_RANGED_VALUE type shared data.
* @endcode
*/
int watchface_complication_provider_data_set_ranged_value(bundle *shared_data,
- double current_value, double min_value, double max_value);
+ double current_value, double min_value, double max_value) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets icon path data for shared data.
* @since_tizen 5.0
* @remarks @a icon_path can be added only for #WATCHFACE_COMPLICATION_TYPE_SHORT_TEXT,
* @endcode
*/
int watchface_complication_provider_data_set_icon_path(bundle *shared_data,
- const char *icon_path);
+ const char *icon_path) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets extra data for shared data.
* @since_tizen 5.0
* @remarks @a extra_data can be added to every type of shared data.
* @endcode
*/
int watchface_complication_provider_data_set_extra_data(bundle *shared_data,
- const char *extra_data);
+ const char *extra_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets screen reader text for shared data.
* @since_tizen 5.0
* @remarks @a screen_reader_text can be added to every type of shared data.
* @endcode
*/
int watchface_complication_provider_data_set_screen_reader_text(
- bundle *shared_data, const char *screen_reader_text);
+ bundle *shared_data, const char *screen_reader_text) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Checks whether shared_data is valid or not.
* @details Developer can check the shared data is valid. If the following mandatory data
* is not set in shared_data, it's not valid.\n
* @endcode
*/
int watchface_complication_provider_data_is_valid(bundle *shared_data,
- bool *is_valid);
+ bool *is_valid) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets touch event type that is transferred from watchface.
* @since_tizen 5.0
* @remarks @a event_type is the type of touch event transferred from the watchface
* @endcode
*/
int watchface_complication_provider_event_get_type(app_control_h handle,
- watchface_complication_event_type_e *event_type);
+ watchface_complication_event_type_e *event_type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets provider id of touched complication.
* @since_tizen 5.0
* @remarks The @a provider_id should be freed using free().
* @endcode
*/
int watchface_complication_provider_event_get_provider_id(
- app_control_h handle, char **provider_id);
+ app_control_h handle, char **provider_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets complication type of touched complication.
* @since_tizen 5.0
* @param[in] handle The app control handle
* @endcode
*/
int watchface_complication_provider_event_get_complication_type(
- app_control_h handle, watchface_complication_type_e *type);
+ app_control_h handle, watchface_complication_type_e *type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets complication context of touched complication.
* @since_tizen 5.0
* @remarks @a context is customized information about complication setup.
* @endcode
*/
int watchface_complication_provider_event_get_context(
- app_control_h handle, bundle **context);
+ app_control_h handle, bundle **context) TIZEN_DEPRECATED_API;
/**
* @}
*/
/**
+ * @deprecated Deprecated since 9.0
* @brief The complication handle.
* @since_tizen 5.0
*/
typedef void *complication_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when the complication is updated.
* @since_tizen 5.0
* @param[in] complication_id A number that identifies the complication
void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when the complication provider error is occured.
* @details Following error codes can be delivered.
* #WATCHFACE_COMPLICATION_ERROR_PROVIDER_NOT_AVAILABLE : Provider application is not available now for some reason. (eg. uninstall, disable) \n
void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the id of provider in the complication.
* @since_tizen 5.0
* @remarks The @a cur_provider should be released using free().
* @endcode
*/
int watchface_complication_get_current_provider_id(complication_h handle,
- char **cur_provider);
+ char **cur_provider) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the currently set type of the complication.
* @since_tizen 5.0
* @param[in] handle Complication handle
* @endcode
*/
int watchface_complication_get_current_type(complication_h handle,
- watchface_complication_type_e *cur_type);
+ watchface_complication_type_e *cur_type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the callback function to use for complication update.
* @since_tizen 5.0
* @privlevel public
int watchface_complication_add_updated_cb(complication_h handle,
watchface_complication_updated_cb cb,
watchface_complication_error_cb error_cb,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Removes the callback function.
* @since_tizen 5.0
* @param[in] handle Complication handle
* @endcode
*/
int watchface_complication_remove_updated_cb(complication_h handle,
- watchface_complication_updated_cb cb);
+ watchface_complication_updated_cb cb) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sends request the provider to update the complication.
* @since_tizen 5.0
* @privlevel public
}
* @endcode
*/
-int watchface_complication_send_update_request(complication_h handle);
+int watchface_complication_send_update_request(complication_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates a complication handle.
* @details The default provider and type are the items to set for initial display.
* If user selects the other provider and type, they are no longer used.
watchface_complication_type_e default_type,
int supported_types,
int supported_event_types,
- complication_h *created_handle);
+ complication_h *created_handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys a complication handle.
* @since_tizen 5.0
* @param[in] handle Complication handle
}
* @endcode
*/
-int watchface_complication_destroy(complication_h handle);
+int watchface_complication_destroy(complication_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets data type of complication data.
* @details Developer can get different set of data from data depends on data type.
* Data will be passed through #watchface_complication_updated_cb callback and sent by complication provider app.
* @endcode
*/
int watchface_complication_data_get_type(const bundle *data,
- watchface_complication_type_e *type);
+ watchface_complication_type_e *type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets short text from complication data.
* @since_tizen 5.0
* @remarks The @a short_text should be freed using free().
* @endcode
*/
int watchface_complication_data_get_short_text(const bundle *data,
- char **short_text);
+ char **short_text) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets long text from complication data.
* @since_tizen 5.0
* @remarks The @a long_text should be freed using free().
* @endcode
*/
int watchface_complication_data_get_long_text(const bundle *data,
- char **long_text);
+ char **long_text) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets title text from complication data.
* @since_tizen 5.0
* @remarks The @a title should be freed using free().
}
* @endcode
*/
-int watchface_complication_data_get_title(const bundle *data, char **title);
+int watchface_complication_data_get_title(const bundle *data, char **title) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @deprecated Deprecated since 5.5. Use watchface_complication_data_get_timeinfo() instead.
* @brief Gets timestamp from complication data.
* @since_tizen 5.0
long *timestamp) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets timeinfo from complication data.
* @since_tizen 5.5
* @remarks The @a info should be destroyed using watchface_complication_timeinfo_destroy().
* @endcode
*/
int watchface_complication_data_get_timeinfo(const bundle *data,
- complication_time_info_h *info);
+ complication_time_info_h *info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets timezone from timeinfo.
* @since_tizen 5.5
* @remarks The @a timezone should be freed using free().
* @endcode
*/
int watchface_complication_timeinfo_get_timezone(complication_time_info_h info,
- char **timezone);
+ char **timezone) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets timezone ID from timeinfo.
* @since_tizen 5.5
* @remarks The @a timezone_id should be freed using free().
* @endcode
*/
int watchface_complication_timeinfo_get_timezone_id(complication_time_info_h info,
- char **timezone_id);
+ char **timezone_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets timezone country from timeinfo.
* @since_tizen 5.5
* @remarks The @a country should be freed using free().
* @endcode
*/
int watchface_complication_timeinfo_get_timezone_country(complication_time_info_h info,
- char **country);
+ char **country) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets timezone city from timeinfo.
* @since_tizen 5.5
* @remarks The @a city should be freed using free().
* @endcode
*/
int watchface_complication_timeinfo_get_timezone_city(complication_time_info_h info,
- char **city);
+ char **city) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets timestamp from timeinfo.
* @since_tizen 5.5
* @remarks The @a info should contain a timezone ID.
* @endcode
*/
int watchface_complication_timeinfo_get_timestamp(complication_time_info_h info,
- time_t *timestamp);
+ time_t *timestamp) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys time information handle.
* @since_tizen 5.5
* @param[in] info The time information handle
}
* @endcode
*/
-int watchface_complication_timeinfo_destroy(complication_time_info_h info);
+int watchface_complication_timeinfo_destroy(complication_time_info_h info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets image path from complication data.
* @since_tizen 5.0
* @remarks The @a image_path should be freed using free().
* @endcode
*/
int watchface_complication_data_get_image_path(const bundle *data,
- char **image_path);
+ char **image_path) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets ranged value from complication data.
* @since_tizen 5.0
* @param[in] data The data received from complication provider app
* @endcode
*/
int watchface_complication_data_get_ranged_value(const bundle *data,
- double *current_value, double *min_value, double *max_value);
+ double *current_value, double *min_value, double *max_value) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets icon path from complication data.
* @since_tizen 5.0
* @remarks The @a icon_path should be freed using free().
* @endcode
*/
int watchface_complication_data_get_icon_path(const bundle *data,
- char **icon_path);
+ char **icon_path) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets extra data from complication data.
* @since_tizen 5.0
* @remarks The @a extra_data should be freed using free().
* @endcode
*/
int watchface_complication_data_get_extra_data(const bundle *data,
- char **extra_data);
+ char **extra_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets screen reader text from complication data.
* @since_tizen 5.0
* @remarks The @a screen_reader_text should be freed using free().
* @endcode
*/
int watchface_complication_data_get_screen_reader_text(const bundle *data,
- char **screen_reader_text);
+ char **screen_reader_text) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Transfers touch event to the complication provider.
* @details This function launches the provider application with extra data,
* so that provider can tell it is launched by transferred touch event.
* @endcode
*/
int watchface_complication_transfer_event(complication_h handle,
- watchface_complication_event_type_e event_type);
+ watchface_complication_event_type_e event_type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief The complication allowed list handle.
* @since_tizen 5.0
*/
typedef struct complication_allowed_list_ *complication_allowed_list_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates allowed list.
* @details The allowed list created by this function is provider list which
* will be shown on the editor app's candidate provider list.
* @endcode
*/
int watchface_complication_allowed_list_create(
- complication_allowed_list_h *handle);
+ complication_allowed_list_h *handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys allowed list.
* @since_tizen 5.0
* @param[in] handle The complication allowed list handle
* @endcode
*/
int watchface_complication_allowed_list_destroy(
- complication_allowed_list_h handle);
+ complication_allowed_list_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds provider info to the allowed list.
* @details Using this function the complication can add provider id and types
* which will be shown on the editor app's candidate provider list.
* @endcode
*/
int watchface_complication_allowed_list_add(complication_allowed_list_h handle,
- const char *provider_id, int types);
+ const char *provider_id, int types) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Deletes provider info from the allowed list.
* @since_tizen 5.0
* @param[in] handle The complication allowed list handle
* @endcode
*/
int watchface_complication_allowed_list_delete(complication_allowed_list_h handle,
- const char *provider_id);
+ const char *provider_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets n-th item of the allowed list.
* @since_tizen 5.0
* @remarks The @a provider_id should be freed using free().
*/
int watchface_complication_allowed_list_get_nth(
complication_allowed_list_h handle, int index,
- char **provider_id, int *types);
+ char **provider_id, int *types) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Applies the allowed list to a complication.
* @details After using this function, the editor will display providers included in the allowed list handle.
* @since_tizen 5.0
* @endcode
*/
int watchface_complication_allowed_list_apply(complication_h handle,
- complication_allowed_list_h list_handle);
+ complication_allowed_list_h list_handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Removes applied allowed list.
* @since_tizen 5.0
* @param[in] handle The complication allowed list handle
}
* @endcode
*/
-int watchface_complication_allowed_list_clear(complication_h handle);
+int watchface_complication_allowed_list_clear(complication_h handle) TIZEN_DEPRECATED_API;
/**
* @}
*/
/**
+ * @deprecated Deprecated since 9.0
* @brief The editable handle.
* @since_tizen 5.0
*/
typedef void *watchface_editable_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief The container handle for editable.
* @since_tizen 5.0
*/
typedef void *watchface_editable_container_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief The editable highlight info handle.
* @since_tizen 5.0
*/
typedef void *watchface_editable_highlight_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Editable state.
* @since_tizen 5.0
*/
} watchface_editable_edit_state_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Editable shape type.
* @since_tizen 5.0
*/
} watchface_editable_shape_type_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when an editable requests an edit.
* @since_tizen 5.0
* @param[in] handle The editable handle
const watchface_editable_edit_state_e state,
void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when the editor is ready to edit.
* @since_tizen 5.0
* @remarks The @a handle should not be released.
void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief The candidates list handle.
* @since_tizen 5.0
*/
typedef struct complication_candidates_list_ *complication_candidates_list_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates candidates list.
* @details The candidates list created by this function will be shown on the
* editor app's candidates list.
* @endcode
*/
int watchface_editable_candidates_list_create(
- complication_candidates_list_h *handle);
+ complication_candidates_list_h *handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds candidate data to the candidates list.
* @since_tizen 5.0
* @remarks Created candidate data will be freed when
* @endcode
*/
int watchface_editable_candidates_list_add(
- complication_candidates_list_h handle, bundle *candidate);
+ complication_candidates_list_h handle, bundle *candidate) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys candidates list.
* @since_tizen 5.0
* @param[in] handle The complication allowed list handle
* @endcode
*/
int watchface_editable_candidates_list_destroy(
- complication_candidates_list_h handle);
+ complication_candidates_list_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the design element to the editable container handle.
* @details The design element will be displayed on the editor app's editables list.
* @since_tizen 5.0
int watchface_editable_add_design_element(watchface_editable_container_h handle,
int editable_id, int cur_data_idx,
complication_candidates_list_h list_handle,
- watchface_editable_highlight_h highlight, const char *editable_name);
+ watchface_editable_highlight_h highlight, const char *editable_name) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds a complication to the editable container handle.
* @since_tizen 5.0
* @remarks If watch application developer want to draw it's own style highlight,
*/
int watchface_editable_add_complication(watchface_editable_container_h handle,
int editable_id, complication_h comp,
- watchface_editable_highlight_h highlight);
+ watchface_editable_highlight_h highlight) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Requests editor to edit.
* @since_tizen 5.0
* @privlevel public
*/
int watchface_editable_request_edit(watchface_editable_container_h handle,
watchface_editable_update_requested_cb cb,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the callback function to request edit.
* @since_tizen 5.0
* @param[in] cb The callback function
* @endcode
*/
int watchface_editable_add_edit_ready_cb(watchface_editable_edit_ready_cb cb,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Removes the callback function to request edit.
* @since_tizen 5.0
* @param[in] cb The callback function
}
* @endcode
*/
-int watchface_editable_remove_edit_ready_cb(watchface_editable_edit_ready_cb cb);
+int watchface_editable_remove_edit_ready_cb(watchface_editable_edit_ready_cb cb) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the name of the editable.
* @since_tizen 5.0
* @remarks The @a editable_name should be freed using free().
* @endcode
*/
int watchface_editable_get_editable_name(const watchface_editable_h handle,
- char **editable_name);
+ char **editable_name) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the name in editable.
* @since_tizen 5.0
* @param[in] handle The editable handle
* @endcode
*/
int watchface_editable_set_editable_name(const watchface_editable_h handle,
- const char *editable_name);
+ const char *editable_name) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Retrieves the n-th data of editable.
* @since_tizen 5.0
* @remarks The @a nth_data should be freed using bundle_free().
* @endcode
*/
int watchface_editable_get_nth_data(const watchface_editable_h handle, int n,
- bundle **nth_data);
+ bundle **nth_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Retrieves the current data in editable.
* @since_tizen 5.0
* @remarks The @a cur_data should be freed using bundle_free().
* @endcode
*/
int watchface_editable_get_current_data(const watchface_editable_h handle,
- bundle **cur_data);
+ bundle **cur_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the index of the current data.
* @since_tizen 5.0
* @param[in] handle The editable handle
}
* @endcode
*/
-int watchface_editable_get_current_data_idx(const watchface_editable_h handle, int *idx);
+int watchface_editable_get_current_data_idx(const watchface_editable_h handle, int *idx) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the id of editable.
* @since_tizen 5.0
* @param[in] handle The editable handle
* @endcode
*/
int watchface_editable_get_editable_id(const watchface_editable_h handle,
- int *editable_id);
+ int *editable_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the editable information for the specified id.
* @since_tizen 5.0
* @remarks The @a current_data should be freed using bundle_free().
* @endcode
*/
int watchface_editable_load_current_data(int editable_id,
- bundle **current_data);
+ bundle **current_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates editable's highlight info handle.
* @since_tizen 5.0
* @remarks The @a handle should be freed using watchface_editable_highlight_destroy().
* @endcode
*/
int watchface_editable_highlight_create(watchface_editable_highlight_h *handle,
- watchface_editable_shape_type_e shape_type);
+ watchface_editable_shape_type_e shape_type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets editable's highlight geometry info.
* @since_tizen 5.0
* @param[in] handle The editable's highlight handle
* @endcode
*/
int watchface_editable_highlight_set_geometry(
- watchface_editable_highlight_h handle, int x, int y, int w, int h);
+ watchface_editable_highlight_h handle, int x, int y, int w, int h) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets editable's highlight geometry info.
* @since_tizen 5.0
* @param[in] handle The editable's highlight handle
* @endcode
*/
int watchface_editable_highlight_get_geometry(
- watchface_editable_highlight_h handle, int *x, int *y, int *w, int *h);
+ watchface_editable_highlight_h handle, int *x, int *y, int *w, int *h) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets editable's highlight shape type.
* @since_tizen 5.0
* @param[in] handle The editable's highlight handle
*/
int watchface_editable_highlight_set_shape_type(
watchface_editable_highlight_h handle,
- watchface_editable_shape_type_e shape);
+ watchface_editable_shape_type_e shape) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets editable's highlight shape type.
* @since_tizen 5.0
* @param[in] handle The editable's highlight handle
*/
int watchface_editable_highlight_get_shape_type(
watchface_editable_highlight_h handle,
- watchface_editable_shape_type_e* shape);
+ watchface_editable_shape_type_e* shape) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys editable's highlight info.
* @since_tizen 5.0
* @param[in] handle The editable's highlight handle
}
* @endcode
*/
-int watchface_editable_highlight_destroy(watchface_editable_highlight_h handle);
+int watchface_editable_highlight_destroy(watchface_editable_highlight_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets editable's highlight handle.
* @since_tizen 5.0
* @remarks The @a highlight should be release using watchface_editable_highlight_destroy().
* @endcode
*/
int watchface_editable_get_highlight(const watchface_editable_h handle,
- watchface_editable_highlight_h* highlight);
+ watchface_editable_highlight_h* highlight) TIZEN_DEPRECATED_API;
/**
* @}
*/
/**
+ * @deprecated Deprecated since 9.0
* @brief Editable list handle.
* @since_tizen 5.0
*/
typedef GList *editable_list_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when setup application is run.
* @since_tizen 5.0
* @remarks The @a new_context should not be released.
bundle *new_context, void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Called when an edit request occurs.
* @since_tizen 5.0
* @remarks The @a list should not be released.
watchface_complication_error_e result, void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the callback function to edit.
* @since_tizen 5.0
* @param[in] cb The callback function
* @endcode
*/
int watchface_editor_add_request_edit_cb(watchface_editor_request_edit_cb cb,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Removes the callback function.
* @since_tizen 5.0
* @param[in] cb The callback function
}
* @endcode
*/
-int watchface_editor_remove_request_edit_cb(watchface_editor_request_edit_cb cb);
+int watchface_editor_remove_request_edit_cb(watchface_editor_request_edit_cb cb) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Applies changes in edit mode.
* @since_tizen 5.0
* @privlevel public
* @retval #WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WATCHFACE_COMPLICATION_ERROR_IO_ERROR I/O error
*/
-int watchface_editor_edit_complete(void);
+int watchface_editor_edit_complete(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Displays the preview of the selected index.
* @since_tizen 5.0
* @privlevel public
* @endcode
*/
int watchface_editor_edit_preview(const watchface_editable_h handle,
- int cur_data_idx);
+ int cur_data_idx) TIZEN_DEPRECATED_API;
int watchface_editor_edit_preview_with_result(const watchface_editable_h handle,
int cur_data_idx, watchface_editor_edit_result_cb result_cb,
- int timeout, bool auto_reply, void *user_data);
+ int timeout, bool auto_reply, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Cancels without making any changes in edit mode.
* @since_tizen 5.0
* @privlevel public
* @retval #WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY Out of memory
* @retval #WATCHFACE_COMPLICATION_ERROR_IO_ERROR I/O error
*/
-int watchface_editor_edit_cancel(void);
+int watchface_editor_edit_cancel(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Informs the watchface that the editor is ready to edit.
* @since_tizen 5.0
* @privlevel public
}
* @endcode
*/
-int watchface_editor_notify_edit_ready(const char *appid);
+int watchface_editor_notify_edit_ready(const char *appid) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Copies the editable list.
* @since_tizen 5.0
* @remarks The @a dest should be released using watchface_editor_editable_list_destroy().
}
* @endcode
*/
-int watchface_editor_editable_list_dup(editable_list_h source, editable_list_h *dest);
+int watchface_editor_editable_list_dup(editable_list_h source, editable_list_h *dest) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys list of editable.
* @since_tizen 5.0
* @param[in] list List of editable
}
* @endcode
*/
-int watchface_editor_editable_list_destroy(editable_list_h list);
+int watchface_editor_editable_list_destroy(editable_list_h list) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the size of the editable list.
* @since_tizen 5.0
* @param[in] list List of editable
}
* @endcode
*/
-int watchface_editor_editable_list_get_size(editable_list_h list, int *size);
+int watchface_editor_editable_list_get_size(editable_list_h list, int *size) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the nth editable from the editable list.
* @since_tizen 5.0
* @remarks The @a handle should not be released.
* @endcode
*/
int watchface_editor_editable_list_get_nth(editable_list_h list,
- int n, watchface_editable_h *handle);
+ int n, watchface_editable_h *handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the size of candidate in editable.
* @since_tizen 5.0
* @param[in] handle The editable handle
}
* @endcode
*/
-int watchface_editor_editable_candidate_list_get_size(watchface_editable_h handle, int *size);
+int watchface_editor_editable_candidate_list_get_size(watchface_editable_h handle, int *size) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the nth candidate data from the editable.
* @since_tizen 5.0
* @remarks The @a candidate_data should be released using bundle_free().
* @endcode
*/
int watchface_editor_editable_candidate_list_get_nth(
- watchface_editable_h handle, int n, bundle **candidate_data);
+ watchface_editable_h handle, int n, bundle **candidate_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets editable's contest.
* @since_tizen 5.0
* @param[in] handle The editable handle
}
* @endcode
*/
-int watchface_editor_set_context(watchface_editable_h handle, bundle *context);
+int watchface_editor_set_context(watchface_editable_h handle, bundle *context) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Launches editable's setup app.
* @since_tizen 5.0
* @privlevel public
* @endcode
*/
int watchface_editor_launch_setup_app(watchface_editable_h handle,
- watchface_editor_setup_result_cb cb, void *user_data);
+ watchface_editor_setup_result_cb cb, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Checks setup app is exist.
* @since_tizen 5.0
* @param[in] handle The editable handle
}
* @endcode
*/
-int watchface_editor_is_setup_app_exist(watchface_editable_h handle, bool *exist);
+int watchface_editor_is_setup_app_exist(watchface_editable_h handle, bool *exist) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the provider's id of the candidate.
* @since_tizen 5.0
* @remarks The @a provider_id should be released using free().
* @endcode
*/
int watchface_editor_get_complication_provider_id(
- const bundle *candidate_data, char **provider_id);
+ const bundle *candidate_data, char **provider_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets complication type of the candidate.
* @since_tizen 5.0
* @param[in] candidate_data The editable's candidate data.
* @endcode
*/
int watchface_editor_get_complication_type(const bundle *candidate_data,
- watchface_complication_type_e *cur_type);
+ watchface_complication_type_e *cur_type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the provider's name of the candidate.
* @since_tizen 5.0
* @remarks The @a provider_name should be released using free().
* @endcode
*/
int watchface_editor_get_complication_provider_name(
- const bundle *candidate_data, char **provider_name);
+ const bundle *candidate_data, char **provider_name) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets whether candidate complication is supported or not supported.
* @since_tizen 5.0
* @param[in] candidate_data The editable's candidate data.
*/
int watchface_editor_get_complication_is_supported(const bundle *candidate_data,
bool *is_supported, watchface_editor_error_e *error,
- char **error_message);
+ char **error_message) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets editable's setup appid.
* @since_tizen 5.0
* @param[in] handle The editable handle
* @endcode
*/
int watchface_editor_get_setup_appid(
- watchface_editable_h handle, char** setup_appid);
+ watchface_editable_h handle, char** setup_appid) TIZEN_DEPRECATED_API;
/**
* @}