/**
* @brief Checks whether the command format is supported.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] format The command format
* @param[out] support The result status @c true = supported, @c false = not supported
/**
* @brief Enumerations of command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
VC_COMMAND_TYPE_NONE = 0, /**< No command position */
/**
* @brief Sets extra unfixed command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] command The unfixed command
/**
* @brief Sets pid.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] pid process id
/**
* @brief Sets command domain
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] domain domain
/**
* @brief Definitions for foreground command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_FOREGROUND 1
/**
* @brief Definitions for background command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_BACKGROUND 2
/**
* @brief Initializes voice control.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Deinitializes voice control.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Connects the voice control service.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Disconnects the voice control service.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Retrieves all supported languages using callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Gets current language.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Gets current state of voice control client.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Gets current state of voice control service.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Sets command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Unsets command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Registers a callback function for getting recognition result.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Unregisters the callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Registers a callback function to be called when state is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Unregisters the callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Registers a callback function to be called when state is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Unregisters the callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Registers a callback function to be called when current language is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Unregisters the callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Registers a callback function to be called when an error occurred.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief Unregisters the callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/recorder
*
/**
* @brief The voice command handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef struct vc_cmd_s* vc_cmd_h;
/**
* @brief The voice command list handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef struct vc_cmd_list_s* vc_cmd_list_h;
/**
* @brief Called to retrieve The commands in list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] user_data The user data passed from the foreach function
/**
* @brief Creates a handle for command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks If the function succeeds, @a The list handle must be released with vc_cmd_list_destroy().
*
/**
* @brief Destroys the handle for command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[in] free_command The command free option @c true = release each commands in list,
/**
* @brief Gets command count of list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[out] count The count
/**
* @brief Adds command to command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[in] vc_command The command handle
/**
* @brief Removes command from command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[in] vc_command The command handle
/**
* @brief Retrieves all commands of command list using callback function.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[in] callback Callback function to invoke
/**
* @brief Moves index to first command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
*
/**
* @brief Moves index to last command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
*
/**
* @brief Moves index to next command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
*
/**
* @brief Moves index to previous command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
*
/**
* @brief Get current command from command list by index.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[out] vc_command The command handle
/**
* @brief Creates a handle for command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks If the function succeeds, @a The command handle must be released
* with vc_cmd_destroy() or vc_cmd_list_destroy().
/**
* @brief Destroys the handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
*
/**
* @brief Sets command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] command The command text
/**
* @brief Gets command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remark If the function succeeds, @a command must be released with free() by you if they are not NULL.
*
/**
* @brief Sets command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remark If you do not set the command type, the default value is -1.
* You should set type if command is valid
/**
* @brief Gets command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[out] type The command type
/**
* @brief Enumerations of command format.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
VC_CMD_FORMAT_FIXED = 0, /**< fixed command only */
/**
* @brief Gets extra unfixed command.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remark If the function succeeds, @a The command must be released with free() by you if they are not NULL.
* If you get the result command list in result callback and the command type of commands has non-fixed format,
/**
* @brief Sets command format.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] format The command format
/**
* @brief Gets command format.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remark If you do not set the format, the default format is #VC_CMD_FORMAT_FIXED.
*
/**
* @brief Sets command domain
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[in] domain The domain
/**
* @brief Gets command domain.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_command The command handle
* @param[out] domain The domain
/**
* @brief Remove all commands from command list.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] vc_cmd_list The command list handle
* @param[in] free_command The command free option @c true = release each commands in list,
/**
* @brief Enumerations of error codes.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
VC_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
/**
* @brief Enumerations of result event.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
VC_RESULT_EVENT_RESULT_SUCCESS = 0, /**< Normal result */
/**
* @brief Enumerations of service state.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
VC_SERVICE_STATE_NONE = 0, /**< 'None' state */
/**
* @brief Enumerations of client state.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum {
VC_STATE_NONE = 0, /**< 'None' state */
/**
* @brief Called when client gets the recognition result.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks If the duplicated commands are recognized, the event(e.g. #VC_RESULT_EVENT_REJECTED) of command may be rejected \n
* for selecting command as priority. If you set similar or same commands or the recognized results are multi-results,
/**
* @brief Called when default language is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] previous Previous language
* @param[in] current Current language
/**
* @brief Called to retrieve supported language.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] language A language is specified as an ISO 3166 alpha-2 two letter country-code \n
* followed by ISO 639-1 for the two-letter language code. \n
/**
* @brief Called when the state of voice control client is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] previous A previous state
* @param[in] current A current state
/**
* @brief Called when the state of voice control service is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] previous A previous state
* @param[in] current A current state
/**
* @brief Called when error occurred.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] reason The error type (e.g. #VC_ERROR_OUT_OF_MEMORY, #VC_ERROR_TIMED_OUT)
* @param[in] user_data The user data passed from the callback registration function
/**
* @brief Definitions for foreground command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_FOREGROUND 1
/**
* @brief Definitions for background command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_BACKGROUND 2
/**
* @brief Definitions for widget command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_WIDGET 3
/**
* @brief Definitions for system command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_SYSTEM 4
/**
* @brief Definitions for exclusive command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_EXCLUSIVE 5
/**
* @brief Called to retrieve supported language.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] language A language is specified as an ISO 3166 alpha-2 two letter country-code \n
* followed by ISO 639-1 for the two-letter language code. \n
/**
* @brief Called when default language is changed.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] previous Previous language
* @param[in] current Current language
/**
* @brief Definitions for widget command type.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define VC_COMMAND_TYPE_WIDGET 3