EXPORT_API int hand_gesture_create(hand_gesture_h *handle)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_create() is deprecated and will be removed from next release.");
LOGD("hand_gesture_create");
CHECK_GESTURE_FEATURE();
EXPORT_API int hand_gesture_destroy(hand_gesture_h handle)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_destroy() is deprecated and will be removed from next release.");
LOGD("hand_gesture_destroy");
CHECK_GESTURE_FEATURE();
EXPORT_API int hand_gesture_is_supported_type(hand_gesture_h handle, hand_gesture_type_e gesture, bool* supported)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_is_supported_type() is deprecated and will be removed from next release.");
LOGD("hand_gesture_is_supported_type");
CHECK_GESTURE_FEATURE();
//LCOV_EXCL_START
EXPORT_API int hand_gesture_set_handtype(hand_gesture_h handle, hand_gesture_handtype_e hand_type)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_set_handtype() is deprecated and will be removed from next release.");
LOGD("hand_gesture_set_handtype");
CHECK_GESTURE_FEATURE();
EXPORT_API int hand_gesture_set_workmode(hand_gesture_h handle, hand_gesture_workmode_e work_mode)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_set_workmode() is deprecated and will be removed from next release.");
LOGD("hand_gesture_set_workmode");
CHECK_GESTURE_FEATURE();
//LCOV_EXCL_STOP
EXPORT_API int hand_gesture_set_option(hand_gesture_h handle, hand_gesture_option_e option)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_set_option() is deprecated and will be removed from next release.");
LOGD("hand_gesture_set_option");
CHECK_GESTURE_FEATURE();
//LCOV_EXCL_START
EXPORT_API int hand_gesture_set_sensitivity(hand_gesture_h handle, int sensitivity)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_set_sensitivity() is deprecated and will be removed from next release.");
LOGD("hand_gesture_set_sensitivity");
CHECK_GESTURE_FEATURE();
//LCOV_EXCL_STOP
EXPORT_API int hand_gesture_start_recognition(hand_gesture_h handle, hand_gesture_type_e gesture_type, hand_gesture_recognition_cb callback, void *user_data)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_start_recognition() is deprecated and will be removed from next release.");
LOGD("hand_gesture_start_recognition");
CHECK_GESTURE_FEATURE();
EXPORT_API int hand_gesture_stop_recognition(hand_gesture_h handle)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_stop_recognition() is deprecated and will be removed from next release.");
CHECK_GESTURE_FEATURE();
ASSERT_NOT_NULL(handle);
//LCOV_EXCL_START
EXPORT_API int hand_gesture_get_event(const hand_gesture_data_h data, hand_gesture_event_e *event)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_get_event() is deprecated and will be removed from next release.");
CHECK_GESTURE_FEATURE();
ASSERT_NOT_NULL(data);
ASSERT_NOT_NULL(event);
//LCOV_EXCL_STOP
EXPORT_API int hand_gesture_get_engine_info(hand_gesture_h handle, char** engine_app_id, char** engine_name)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_get_engine_info() is deprecated and will be removed from next release.");
LOGD("[engineInfo] hand_gesture_get_engine_info");
CHECK_GESTURE_FEATURE();
EXPORT_API int hand_gesture_set_error_cb(hand_gesture_h handle, hand_gesture_error_cb callback, void *user_data)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_set_error_cb() is deprecated and will be removed from next release.");
CHECK_GESTURE_FEATURE();
ASSERT_NOT_NULL(handle);
EXPORT_API int hand_gesture_unset_error_cb(hand_gesture_h handle)
{
+ LOGW("DEPRECATION WARNING: hand_gesture_unset_error_cb() is deprecated and will be removed from next release.");
CHECK_GESTURE_FEATURE();
ASSERT_NOT_NULL(handle);
*/
/**
+ * @deprecated Deprecated since 8.0.
* @brief The hand gesture handle.
* @since_tizen @if WEARABLE 6.0 @endif
*/
typedef struct hand_gesture_s *hand_gesture_h;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Called when a gesture is detected.
* @details Following error codes can be delivered: \n
* #HAND_GESTURE_ERROR_NONE, \n
typedef void(* hand_gesture_recognition_cb)(hand_gesture_h handle, hand_gesture_type_e gesture, double timestamp, hand_gesture_error_e error, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Called when an error is occurred.
* @details Following error codes can be delivered: \n
* #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
typedef void(* hand_gesture_error_cb)(hand_gesture_h handle, hand_gesture_error_e error, const char* msg, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Checks whether a gesture is supported or not.
* @details Check if the given gesture type is supported on the device.
*
int hand_gesture_is_supported_type(hand_gesture_h handle, hand_gesture_type_e gesture, bool* supported) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Creates a gesture handle.
*
* @since_tizen @if WEARABLE 6.0 @endif
int hand_gesture_create(hand_gesture_h *handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Destroys a gesture handle.
*
* @since_tizen @if WEARABLE 6.0 @endif
int hand_gesture_destroy(hand_gesture_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Sets an option for gesture recognition.
*
* @since_tizen @if WEARABLE 6.0 @endif
int hand_gesture_set_option(hand_gesture_h handle, hand_gesture_option_e option) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Starts to recognize a gesture.
* @details Sets a callback function to be invoked when the gesture is detected, and starts to monitor occurrences of the gesture.
*
int hand_gesture_start_recognition(hand_gesture_h handle, hand_gesture_type_e gesture, hand_gesture_recognition_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Stops recognizing the gesture registered to the gesture handle.
*
* @since_tizen @if WEARABLE 6.0 @endif
int hand_gesture_stop_recognition(hand_gesture_h handle) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Gets a gesture engine information.
*
* @since_tizen @if WEARABLE 6.0 @endif
int hand_gesture_get_engine_info(hand_gesture_h handle, char** engine_app_id, char** engine_name) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Sets a callback function to be invoked when an error is occurred.
*
* @since_tizen @if WEARABLE 6.0 @endif
int hand_gesture_set_error_cb(hand_gesture_h handle, hand_gesture_error_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Unsets a callback function to be invoked when an error is occurred.
*
* @since_tizen @if WEARABLE 6.0 @endif
*/
/**
+ * @deprecated Deprecated since 8.0.
* @brief Delivery through hand_gesture_recognition_cb() of gesture data handle.
* @since_tizen @if WEARABLE 6.0 @endif
*/
typedef struct hand_gesture_data_s* hand_gesture_data_h;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Enumerations for hand gesture function error.
*
* @since_tizen @if WEARABLE 6.0 @endif
} hand_gesture_error_e;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Enumerations for hand gesture types.
* @since_tizen @if WEARABLE 6.0 @endif
*/
} hand_gesture_type_e;
/**
+ * @deprecated Deprecated since 8.0.
* @brief Enumerations for gesture recognition option.
* @details If the default option is used, the system tries to reduce power consumption.
* For example, the recognition engine may stop detecting gestures if the display is turned off.