/**
* @brief Called when a gesture is detected.
+ * @details Following error codes can be delivered: \n
+ * #HAND_GESTURE_ERROR_NONE, \n
+ * #HAND_GESTURE_ERROR_NOT_SUPPORTED, \n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
+ * #HAND_GESTURE_ERROR_OPERATION_FAILED
*
* @since_tizen @if WEARABLE 6.0 @endif
* @remarks The @a handle is managed by the platform and will be released when hand_gesture_destroy() is called.
* @param[in] handle A gesture handle
* @param[in] gesture A gesture type detected
* @param[in] timestamp The time when the gesture is detected. Epoch time in seconds.
- * @param[in] error An error value. It can be one of the following error values:@n
- * #HAND_GESTURE_ERROR_NONE, if the operation succeeded.@n
- * #HAND_GESTURE_ERROR_NOT_SUPPORTED, if the gesture is not supported in the current profile.@n
- * #HAND_GESTURE_ERROR_OPERATION_FAILED, if the operation failed because of a system error.@n
- * #HAND_GESTURE_ERROR_PERMISSION_DENIED, if the application has no permission to use this.
+ * @param[in] error An error value. It can be one of the following error values: \n
+ * #HAND_GESTURE_ERROR_NONE, if the operation succeeded.\n
+ * #HAND_GESTURE_ERROR_NOT_SUPPORTED, if the gesture is not supported on the device.\n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, if the parameter is invalid. \n
+ * #HAND_GESTURE_ERROR_OPERATION_FAILED, if the operation failed because of a system error.
* @param[in] user_data The user data is passed to hand_gesture_start_recognition()
*
* @see hand_gesture_start_recognition()
/**
* @brief Called when an error is occurred.
+ * @details Following error codes can be delivered: \n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
+ * #HAND_GESTURE_ERROR_INVALID_OPERATION, \n
+ * #HAND_GESTURE_ERROR_OUT_OF_MEMORY, \n
+ * #HAND_GESTURE_ERROR_OPERATION_FAILED
*
* @since_tizen @if WEARABLE 6.0 @endif
* @remarks The @a handle is the same object for which the callback was set.
* The @a msg is managed by the platform and will be released when invoking this callback function is finished.
*
* @param[in] handle A gesture handle
- * @param[in] error An error value. It can be one of the following error values: @n
- * #HAND_GESTURE_ERROR_INVALID_PARAMETER,
- * #HAND_GESTURE_ERROR_INVALID_OPERATION,
- * #HAND_GESTURE_ERROR_OUT_OF_MEMORY,
+ * @param[in] error An error value. It can be one of the following error values: \n
+ * #HAND_GESTURE_ERROR_INVALID_PARAMETER, \n
+ * #HAND_GESTURE_ERROR_INVALID_OPERATION, \n
+ * #HAND_GESTURE_ERROR_OUT_OF_MEMORY, \n
* #HAND_GESTURE_ERROR_OPERATION_FAILED
* @param[in] msg An error message from gesture engine service
* @param[in] user_data The user data is passed to hand_gesture_set_error_cb()
/**
* @brief Checks whether a gesture is supported or not.
- * @details Check if the given gesture type is supported in the current device.
+ * @details Check if the given gesture type is supported on the device.
*
* @since_tizen @if WEARABLE 6.0 @endif
*
* @param[in] handle A gesture handle
* @param[in] gesture A gesture type to be checked
- * @param[out] supported @c true if the gesture is recognizable in the current device,@n
+ * @param[out] supported @c true if the gesture is recognizable on the device,\n
* @c false otherwise
*
* @return @c 0 if the @c gesture is supported, otherwise a negative error value
*/
typedef enum {
HAND_GESTURE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
+ HAND_GESTURE_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
HAND_GESTURE_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */
HAND_GESTURE_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented */
HAND_GESTURE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
HAND_GESTURE_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
- HAND_GESTURE_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
HAND_GESTURE_ERROR_ALREADY_STARTED = TIZEN_ERROR_GESTURE | 0x01, /**< Recognition is already started */
HAND_GESTURE_ERROR_NOT_STARTED = TIZEN_ERROR_GESTURE | 0x02, /**< Recognition is not started */
HAND_GESTURE_ERROR_OPERATION_FAILED = TIZEN_ERROR_GESTURE | 0x04, /**< Operation failed because of a system error */