From b1a3e5227b6b66768248d79cfe67baff5ed614a9 Mon Sep 17 00:00:00 2001 From: sooyeon Date: Wed, 6 Dec 2023 11:31:01 +0900 Subject: [PATCH] Update since_tizen in header files Change-Id: Ibff82d907547295702a0b1167ca29f58bbd4eba5 Signed-off-by: sooyeon --- client/vc.c | 2 +- common/vc_command.h | 4 +- include/vce.h | 130 ++++++++++++++++----------------- include/voice_control.h | 44 +++++------ include/voice_control_command.h | 40 +++++----- include/voice_control_command_expand.h | 6 +- include/voice_control_common.h | 20 ++--- include/voice_control_setting.h | 4 +- include/voice_control_widget.h | 2 +- 9 files changed, 126 insertions(+), 126 deletions(-) diff --git a/client/vc.c b/client/vc.c index 6695e1a..c514b81 100644 --- a/client/vc.c +++ b/client/vc.c @@ -1042,7 +1042,7 @@ int vc_get_system_command_list(vc_cmd_list_h* vc_sys_cmd_list) //LCOV_EXCL_START /** * @brief Checks whether the command format is supported. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @param[in] format The command format * @param[out] support The result status @c true = supported, @c false = not supported diff --git a/common/vc_command.h b/common/vc_command.h index b772774..4e2b583 100644 --- a/common/vc_command.h +++ b/common/vc_command.h @@ -62,7 +62,7 @@ typedef struct { /** * @brief Enumerations of command type. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 */ typedef enum { VC_COMMAND_TYPE_NONE = 0, /**< No command position */ @@ -91,7 +91,7 @@ int vc_cmd_print_list(vc_cmd_list_h vc_cmd_list); /** * @brief Remove all commands from command list. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @param[in] vc_cmd_list The command list handle * @param[in] free_command The command free option @c true = release each commands in list, diff --git a/include/vce.h b/include/vce.h index 1f4036e..6f798b6 100644 --- a/include/vce.h +++ b/include/vce.h @@ -31,7 +31,7 @@ extern "C" { /** * @brief Enumerations of error codes. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -51,7 +51,7 @@ typedef enum { /** * @brief Enumerations of audio type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_AUDIO_TYPE_PCM_S16_LE = 0, /**< Signed 16bit audio type, Little endian */ @@ -60,7 +60,7 @@ typedef enum { /** * @brief Enumerations of callback event. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_RESULT_EVENT_SUCCESS = 0, /**< Event when the recognition full result is ready */ @@ -70,7 +70,7 @@ typedef enum { /** * @brief Enumerations of command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_COMMAND_FORMAT_FIXED = 0, /**< Fixed command */ @@ -84,7 +84,7 @@ typedef enum { /** * @brief Enumerations of speech detect. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_SPEECH_DETECT_NONE = 0, /**< No event */ @@ -94,7 +94,7 @@ typedef enum { /** * @brief Enumerations of ASR result events. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_ASR_RESULT_EVENT_FINAL_RESULT = 0, /**< Event when the ASR result is last data or ASR result is only one result */ @@ -104,7 +104,7 @@ typedef enum { /** * @brief Enumerations of audio channels. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_AUDIO_CHANNEL_MONO = 0, /**< 1 channel, mono */ @@ -113,7 +113,7 @@ typedef enum { /** * @brief Enumeration for TTS feedback events. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef enum { VCE_FEEDBACK_EVENT_FAIL = -1, /**< Failed */ @@ -124,74 +124,74 @@ typedef enum { /** * @brief A structure of handle for VC command. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ typedef struct vce_cmd_s* vce_cmd_h; /** * @brief Definition for foreground command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_COMMAND_TYPE_FOREGROUND 1 /** * @brief Definition for background command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_COMMAND_TYPE_BACKGROUND 2 /** * @brief Definition for widget command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_COMMAND_TYPE_WIDGET 3 /** * @brief Definition for system command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_COMMAND_TYPE_SYSTEM 4 /** * @brief Definition for system background command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_COMMAND_TYPE_SYSTEM_BACKGROUND 5 /** * @brief Definitions for exclusive command type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_COMMAND_TYPE_EXCLUSIVE 6 /** * @brief Definition of bluetooth audio id. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_AUDIO_ID_BLUETOOTH "VC_AUDIO_ID_BLUETOOTH" /**< Bluetooth audio id */ /** * @brief Definition of Wi-Fi audio id. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VCE_AUDIO_ID_WIFI "VC_AUDIO_ID_WIFI" /**< Wi-Fi audio id */ /** * @brief Definition for none message. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VC_RESULT_MESSAGE_NONE "vc.result.message.none" /** * @brief Definition for failed recognition because the speech is too loud to listen. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 */ #define VC_RESULT_MESSAGE_ERROR_TOO_LOUD "vc.result.message.error.too.loud" /** * @brief Called when VC engine informs the engine service user about whole supported languages. * @details This callback function is implemented by the engine service user. Therefore, the engine developer does NOT have to implement this callback function. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is called by vce_foreach_supported_languages_cb() to retrieve the whole supported language list. * The @a user_data must be transferred from vce_foreach_supported_languages_cb(). * The @a language can be used only in the callback. To use outside, make a copy. @@ -206,7 +206,7 @@ typedef bool (*vce_supported_language_cb)(const char* language, void* user_data) /** * @brief Called when the engine service user initializes Voice Control (VC) engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * @return 0 on success, otherwise a negative error value * @retval #VCE_ERROR_NONE Successful @@ -219,7 +219,7 @@ typedef int (*vce_initialize_cb)(void); /** * @brief Called when the engine service user deinitializes VC engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * @return 0 on success, otherwise a negative error value * @retval #VCE_ERROR_NONE Successful @@ -230,7 +230,7 @@ typedef int (*vce_deinitialize_cb)(void); /** * @brief Called when the engine service user requests the recording format of VC engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * The @a audio_id can be used only in the callback. To use outside, make a copy. * The @a types is managed by the platform and will be released when this callback function is completed. @@ -248,7 +248,7 @@ typedef int (*vce_get_recording_format_cb)(const char* audio_id, vce_audio_type_ /** * @brief Called when the engine service user retrieves all supported languages of VC engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * @param[in] callback a callback function * @param[in] user_data The user data to be passed to the callback function @@ -264,7 +264,7 @@ typedef int (*vce_foreach_supported_languages_cb)(vce_supported_language_cb call /** * @brief Called when the engine service user checks whether a language is supported or not. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * The @a language can be used only in the callback. To use outside, make a copy. * @param[in] language A language @@ -274,7 +274,7 @@ typedef bool (*vce_is_language_supported_cb)(const char* language); /** * @brief Called when the engine service user sets language. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a language can be used only in the callback. To use outside, make a copy. * @param[in] language A language. * @return 0 on success, otherwise a negative error value @@ -287,7 +287,7 @@ typedef int (*vce_set_language_cb)(const char* language); /** * @brief Called when the engine service user sets command list before recognition. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This function should set commands via vcd_foreach_command(). * The @a vc_command should not be released. * The @a vc_command can be used only in the callback. To use outside, make a copy. @@ -308,7 +308,7 @@ typedef int (*vce_set_commands_cb)(vce_cmd_h vc_command); /** * @brief Called when the engine service user unsets command list for reset. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @return 0 on success, otherwise a negative error value * @retval #VCE_ERROR_NONE Successful * @retval #VCE_ERROR_INVALID_PARAMETER Invalid parameter @@ -321,7 +321,7 @@ typedef int (*vce_unset_commands_cb)(void); /** * @brief Called when the engine service user starts recognition. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * @param[in] stop_by_silence Silence detection option. * @c true to detect the silence, @@ -342,7 +342,7 @@ typedef int (*vce_start_cb)(bool stop_by_silence); /** * @brief Called when the engine service user sets recording data for speech recognition from recorder. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This function should be returned immediately after recording data copy. * The @a data can be used only in the callback. To use outside, make a copy. * The @a speech_detected should not be released. This is managed by the platform. @@ -363,7 +363,7 @@ typedef int(*vce_set_recording_data_cb)(const void* data, unsigned int length, v /** * @brief Called when the engine service user stops to get the result of recognition. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @return 0 on success, otherwise a negative error value * @retval #VCE_ERROR_NONE Successful * @retval #VCE_ERROR_INVALID_STATE Invalid state @@ -379,7 +379,7 @@ typedef int (*vce_stop_cb)(void); /** * @brief Called when the engine service user cancels the recognition process. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @return 0 on success, otherwise a negative error value. * @retval #VCE_ERROR_NONE Successful. * @retval #VCE_ERROR_INVALID_STATE Invalid state. @@ -391,7 +391,7 @@ typedef int (*vce_cancel_cb)(void); /** * @brief Called when the engine service user sets audio recording type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a audio_type can be used only in the callback. To use outside, make a copy. * @param[in] audio_type Current audio type (e.g. #VCE_AUDIO_ID_BLUETOOTH or #VCE_AUDIO_ID_WIFI) * @return 0 on success, otherwise a negative error value. @@ -402,7 +402,7 @@ typedef int (*vce_set_audio_type_cb)(const char* audio_type); /** * @brief Called when the engine service user sets app id which is want to ask server dialog. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a app_id and @a credential can be used only in the callback. To use outside, make a copy. * @param[in] app_id App id which is to want to ask server dialog. * @param[in] credential Credential key. @@ -415,7 +415,7 @@ typedef int (*vce_set_server_dialog_cb)(const char* app_id, const char* credenti /** * @brief Called when the engine service user sets domain (agent or device type). - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a domain can be used only in the callback. To use outside, make a copy. * @param[in] domain Agent (e.g. "music", "news", etc) or device type (e.g. "tv", "mobile", etc) corresponding to the command * @return 0 on success, otherwise a negative error value. @@ -426,7 +426,7 @@ typedef int (*vce_set_domain_cb)(const char* domain); /** * @brief Called when the engine service user requests essential value from NLU result. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a key can be used only in the callback. To use outside, make a copy. * The @a value is managed by the platform and will be released when this callback function is completed. * @param[in] key NLU base info key. @@ -439,7 +439,7 @@ typedef int (*vce_nlu_base_info_requested_cb)(const char* key, char** value); /** * @brief Called when client gets the specific engine's request from the engine service user. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a engine_app_id is managed by the platform and will be released when this callback function is completed. * The @a event is managed by the platform and will be released when this callback function is completed. * The @a request is managed by the platform and will be released when this callback function is completed. @@ -462,7 +462,7 @@ typedef int (*vce_specific_engine_request_cb)(const char* engine_app_id, const c /** * @brief Called when the engine service user sets private data between app and engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a key, @a data can be used only in the callback. To use outside, make a copy. * @param[in] key Private key. * @param[in] data Private data. @@ -474,7 +474,7 @@ typedef int (*vce_private_data_set_cb)(const char* key, const char* data); /** * @brief Called when the engine service user requests private data between app and engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a key can be used only in the callback. To use outside, make a copy. * The @a data is managed by the platform and will be released when this callback function is completed. * @param[in] key Private key. @@ -487,7 +487,7 @@ typedef int (*vce_private_data_requested_cb)(const char* key, char** data); /** * @brief Called when the engine service user requests process text. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a text can be used only in the callback. To use outside, make a copy. * @param[in] text Requested text * @return 0 on success, otherwise a negative error value. @@ -498,7 +498,7 @@ typedef int (*vce_process_text_cb)(const char* text); /** * @brief Called when the engine service user requests list event. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a event can be used only in the callback. To use outside, make a copy. * @param[in] event Requested list event * @return 0 on success, otherwise a negative error value. @@ -509,7 +509,7 @@ typedef int (*vce_process_list_event_cb)(const char* event); /** * @brief Called when the engine service user requests haptic event. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a event can be used only in the callback. To use outside, make a copy. * @param[in] event Requested haptic event * @return 0 on success, otherwise a negative error value. @@ -520,7 +520,7 @@ typedef int (*vce_process_haptic_event_cb)(const char* event); /** * @brief Called when the engine service user requests the base information of VC engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks This callback function is mandatory and must be registered using vce_main(). * The @a engine_uuid is managed by the platform and will be released when this callback function is completed. * The @a engine_name is managed by the platform and will be released when this callback function is completed. @@ -542,7 +542,7 @@ typedef int (*vce_get_info_cb)(char** engine_uuid, char** engine_name, char** en /** * @brief Called to retrieve the commands. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The @a command, @a param can be used only in the callback. To use outside, make a copy. * @param[in] id command id * @param[in] type command type @@ -627,7 +627,7 @@ typedef int (*vce_tts_audio_format_request_cb)(int* rate, int* channel, int* aud /** * @brief A structure for the VC engine functions. * @details This structure contains essential callback functions for operating VC engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks You must register all callbacks except optional callbacks for operating VC engine.\n * The following callbacks are optional callbacks : \n * - vce_private_data_set_cb() \n @@ -683,7 +683,7 @@ typedef struct { /** * @brief Starts the main function for Voice Control (VC) engine. * @details This function is the main function for operating VC engine. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder \n * %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n @@ -796,7 +796,7 @@ int vce_main(int argc, char** argv, vce_request_callback_s* callback); /** * @brief Sends the results to the engine service user. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) @@ -827,7 +827,7 @@ int vce_send_result(vce_result_event_e event, int* result_id, int count, const c /** * @brief Sends the ASR result to the engine service user. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) @@ -850,7 +850,7 @@ int vce_send_asr_result(vce_asr_result_event_e event, const char* asr_result, vo /** * @brief Sends the NLG (Natural Language Generation) result to the engine service user. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) @@ -872,7 +872,7 @@ int vce_send_nlg_result(const char* nlg_result, void* user_data); /** * @brief Sends the specific engine result to the engine service user. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) @@ -910,7 +910,7 @@ int vce_send_specific_engine_result(const char* engine_app_id, const char* event * #VCE_ERROR_PERMISSION_DENIED, \n * #VCE_ERROR_NOT_SUPPORTED_FEATURE \n * #VCE_ERROR_TTS_FAILED. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) @@ -932,7 +932,7 @@ int vce_send_error(vce_error_e error, const char* msg, void* user_data); /** * @brief Sets a callback function for setting the private data to the engine service. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @remarks The vce_private_data_set_cb() function is called when the engine service user sets the private data to the engine service. @@ -952,7 +952,7 @@ int vce_set_private_data_set_cb(vce_private_data_set_cb callback_func); /** * @brief Sets a callback function for requesting the private data to the engine service. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @remarks The vce_private_data_requested_cb() function is called when the engine service user requests the private data to the engine service. @@ -970,7 +970,7 @@ int vce_set_private_data_requested_cb(vce_private_data_requested_cb callback_fun /** * @brief Sets a callback function for requesting the NLU base information to the engine service. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @remarks The vce_nlu_base_info_requested_cb() function is called when the engine service user requests the NLU base information to the engine service. * @param[in] callback_func vce_nlu_base_info_requested event callback function * @return @c 0 on success, otherwise a negative error value @@ -985,7 +985,7 @@ int vce_set_nlu_base_info_requested_cb(vce_nlu_base_info_requested_cb callback_f /** * @brief Sets a callback function for getting the engine service request. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * * @param[in] callback_func Callback function to register * @@ -1000,7 +1000,7 @@ int vce_set_specific_engine_request_cb(vce_specific_engine_request_cb callback_f /** * @brief Unsets the engine service request callback function. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * * @return 0 on success, otherwise a negative error value * @retval #VCE_ERROR_NONE Successful @@ -1012,7 +1012,7 @@ int vce_unset_specific_engine_request_cb(void); /** * @brief Retrieves all commands using callback function. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * * @param[in] vce_command The handle to be passed to the vce_set_commands_cb() function * @param[in] callback The callback function to invoke @@ -1032,7 +1032,7 @@ int vce_get_foreach_command(vce_cmd_h vce_command, vce_command_cb callback, void /** * @brief Gets command length. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * * @param[in] vce_command The handle to be passed to the vce_set_commands_cb() function * @param[out] count The command count value @@ -1048,7 +1048,7 @@ int vce_get_command_count(vce_cmd_h vce_command, int* count); /** * @brief Gets current audio type. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @remarks The @a audio_type must be released using free() when it is no longer required. @@ -1064,7 +1064,7 @@ int vce_get_audio_type(char** audio_type); /** * @brief Sets private data to a voice manager client. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder \n * %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n @@ -1086,7 +1086,7 @@ int vce_set_private_data(const char* key, const char* data); /** * @brief Gets private data from a voice manager client. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder \n * %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n @@ -1109,7 +1109,7 @@ int vce_get_private_data(const char* key, char** data); /** * @brief Starts recording voice. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder \n * %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n @@ -1127,7 +1127,7 @@ int vce_start_recording(void); /** * @brief Stops recording voice. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @@ -1141,7 +1141,7 @@ int vce_stop_recording(void); /** * @brief Sends audio formats necessary for playing TTS feedback. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) @@ -1163,7 +1163,7 @@ int vce_send_feedback_audio_format(int rate, vce_audio_channel_e channel, vce_au /** * @brief Sends audio streaming necessary for playing TTS feedback. - * @since_tizen @if MOBILE 4.0 @elseif WEARABLE 5.0 @endif + * @since_tizen 4.0 * @privlevel public * @privilege %http://tizen.org/privilege/appmanager.launch (Since 7.0) \n * %http://tizen.org/privilege/datasharing (Since 7.0) diff --git a/include/voice_control.h b/include/voice_control.h index b4939e9..64973c8 100644 --- a/include/voice_control.h +++ b/include/voice_control.h @@ -55,14 +55,14 @@ extern "C" /** * @brief Definition for foreground command type. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ #define VC_COMMAND_TYPE_FOREGROUND 1 /** * @brief Definition for background command type. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ #define VC_COMMAND_TYPE_BACKGROUND 2 @@ -83,7 +83,7 @@ extern "C" /** * @brief Initializes voice control. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @remarks If the function succeeds, vc must be released with vc_deinitialize(). @@ -102,7 +102,7 @@ int vc_initialize(void); /** * @brief Deinitializes voice control. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -119,7 +119,7 @@ int vc_deinitialize(void); /** * @brief Connects the voice control service. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -138,7 +138,7 @@ int vc_prepare(void); /** * @brief Disconnects the voice control service. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -156,7 +156,7 @@ int vc_unprepare(void); /** * @brief Retrieves all supported languages using callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] callback Callback function to invoke @@ -179,7 +179,7 @@ int vc_foreach_supported_languages(vc_supported_language_cb callback, void* user /** * @brief Gets current language. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @remarks If the function succeeds, @a language must be released with free() by you when you no longer need it. @@ -203,7 +203,7 @@ int vc_get_current_language(char** language); /** * @brief Gets current state of voice control client. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[out] state The current state @@ -221,7 +221,7 @@ int vc_get_state(vc_state_e* state); /** * @brief Gets current state of voice control service. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[out] state The current state @@ -363,7 +363,7 @@ int vc_request_dialog(const char* disp_text, const char* utt_text, bool auto_sta /** * @brief Sets command list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @remarks The command type is valid for #VC_COMMAND_TYPE_FOREGROUND or #VC_COMMAND_TYPE_BACKGROUND. @@ -385,7 +385,7 @@ int vc_set_command_list(vc_cmd_list_h vc_cmd_list, int type); /** * @brief Unsets command list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] type Command type @@ -424,7 +424,7 @@ int vc_get_result(vc_result_cb callback, void* user_data); /** * @brief Sets a callback function for getting recognition result. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] callback Callback function to register @@ -445,7 +445,7 @@ int vc_set_result_cb(vc_result_cb callback, void* user_data); /** * @brief Unsets the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -462,7 +462,7 @@ int vc_unset_result_cb(void); /** * @brief Sets a callback function to be called when service state is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] callback Callback function to register @@ -483,7 +483,7 @@ int vc_set_service_state_changed_cb(vc_service_state_changed_cb callback, void* /** * @brief Unsets the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -500,7 +500,7 @@ int vc_unset_service_state_changed_cb(void); /** * @brief Sets a callback function to be called when state is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] callback Callback function to register @@ -521,7 +521,7 @@ int vc_set_state_changed_cb(vc_state_changed_cb callback, void* user_data); /** * @brief Unsets the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -538,7 +538,7 @@ int vc_unset_state_changed_cb(void); /** * @brief Sets a callback function to be called when current language is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] callback Callback function to register @@ -559,7 +559,7 @@ int vc_set_current_language_changed_cb(vc_current_language_changed_cb callback, /** * @brief Unsets the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, @@ -576,7 +576,7 @@ int vc_unset_current_language_changed_cb(void); /** * @brief Sets a callback function to be called when an error occurred. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @param[in] callback Callback function to register @@ -597,7 +597,7 @@ int vc_set_error_cb(vc_error_cb callback, void* user_data); /** * @brief Unsets the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @privlevel public * @privilege %http://tizen.org/privilege/recorder * @return @c 0 on success, diff --git a/include/voice_control_command.h b/include/voice_control_command.h index e1f64af..cc09250 100644 --- a/include/voice_control_command.h +++ b/include/voice_control_command.h @@ -73,21 +73,21 @@ extern "C" /** * @brief The voice command handle. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef struct vc_cmd_s* vc_cmd_h; /** * @brief The voice command list handle. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef struct vc_cmd_list_s* vc_cmd_list_h; /** * @brief Called to retrieve The commands in list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks @a vc_command should not be released. It is managed by the framework and will be released when invoking this callback is finished. * @param[in] vc_command The command handle * @param[in] user_data The user data passed from the foreach function @@ -101,7 +101,7 @@ typedef bool (*vc_cmd_list_cb)(vc_cmd_h vc_command, void* user_data); /** * @brief Creates a handle for command list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks If the function succeeds, @a vc_cmd_list must be released with vc_cmd_list_destroy(). * @param[out] vc_cmd_list The command list handle * @return @c 0 on success, @@ -117,7 +117,7 @@ int vc_cmd_list_create(vc_cmd_list_h* vc_cmd_list); /** * @brief Destroys the handle for command list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @param[in] free_command The command free option @c true = release each commands in list, * @c false = remove command from list @@ -133,7 +133,7 @@ int vc_cmd_list_destroy(vc_cmd_list_h vc_cmd_list, bool free_command); /** * @brief Gets command count of list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @param[out] count The count * @return @c 0 on success, @@ -147,7 +147,7 @@ int vc_cmd_list_get_count(vc_cmd_list_h vc_cmd_list, int* count); /** * @brief Adds command to command list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @param[in] vc_command The command handle * @return @c 0 on success, @@ -162,7 +162,7 @@ int vc_cmd_list_add(vc_cmd_list_h vc_cmd_list, vc_cmd_h vc_command); /** * @brief Removes command from command list. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @param[in] vc_command The command handle * @return @c 0 on success, @@ -177,7 +177,7 @@ int vc_cmd_list_remove(vc_cmd_list_h vc_cmd_list, vc_cmd_h vc_command); /** * @brief Retrieves all commands of command list using callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @param[in] callback Callback function to invoke * @param[in] user_data The user data to be passed to the callback function @@ -194,7 +194,7 @@ int vc_cmd_list_foreach_commands(vc_cmd_list_h vc_cmd_list, vc_cmd_list_cb callb /** * @brief Moves index to first command. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @return @c 0 on success, * otherwise a negative error value @@ -209,7 +209,7 @@ int vc_cmd_list_first(vc_cmd_list_h vc_cmd_list); /** * @brief Moves index to last command. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @return @c 0 on success, * otherwise a negative error value @@ -224,7 +224,7 @@ int vc_cmd_list_last(vc_cmd_list_h vc_cmd_list); /** * @brief Moves index to next command. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @return @c 0 on success, * otherwise a negative error value @@ -240,7 +240,7 @@ int vc_cmd_list_next(vc_cmd_list_h vc_cmd_list); /** * @brief Moves index to previous command. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_cmd_list The command list handle * @return @c 0 on success, * otherwise a negative error value @@ -256,7 +256,7 @@ int vc_cmd_list_prev(vc_cmd_list_h vc_cmd_list); /** * @brief Gets current command from command list by index. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks @a vc_command should be released after removing it from @a vc_cmd_list with vc_cmd_list_remove(). * @param[in] vc_cmd_list The command list handle * @param[out] vc_command The command handle @@ -276,7 +276,7 @@ int vc_cmd_list_get_current(vc_cmd_list_h vc_cmd_list, vc_cmd_h* vc_command); /** * @brief Creates a handle for command. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks If the function succeeds, @a vc_command must be released with vc_cmd_destroy() or vc_cmd_list_destroy(). * You should set command and type if command is valid. * The command format is set to #VC_COMMAND_FORMAT_FIXED by default and can be changed with vc_cmd_set_format(). @@ -294,7 +294,7 @@ int vc_cmd_create(vc_cmd_h* vc_command); /** * @brief Destroys the handle. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_command The command handle * @return @c 0 on success, * otherwise a negative error value @@ -308,7 +308,7 @@ int vc_cmd_destroy(vc_cmd_h vc_command); /** * @brief Sets command or action. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_command The command handle * @param[in] command The command or action text * @return @c 0 on success, @@ -323,7 +323,7 @@ int vc_cmd_set_command(vc_cmd_h vc_command, const char* command); /** * @brief Gets command. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks If the function succeeds, @a command must be released with free() by you if they are not NULL. * @param[in] vc_command The command handle * @param[out] command The command text @@ -356,7 +356,7 @@ int vc_cmd_get_unfixed_command(vc_cmd_h vc_command, char** command); /** * @brief Sets command type. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks If you do not set the command type, the default value is @c -1. * You should set type if command is valid * @param[in] vc_command The command handle @@ -373,7 +373,7 @@ int vc_cmd_set_type(vc_cmd_h vc_command, int type); /** * @brief Gets command type. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] vc_command The command handle * @param[out] type The command type * @return @c 0 on success, diff --git a/include/voice_control_command_expand.h b/include/voice_control_command_expand.h index ca353e7..2b00752 100644 --- a/include/voice_control_command_expand.h +++ b/include/voice_control_command_expand.h @@ -50,7 +50,7 @@ typedef enum { /** * @brief Sets command domain -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @param[in] vc_command The command handle * @param[in] domain The domain @@ -67,7 +67,7 @@ int vc_cmd_set_domain(vc_cmd_h vc_command, int domain); /** * @brief Gets command domain. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @param[in] vc_command The command handle * @param[out] domain The domain @@ -84,7 +84,7 @@ int vc_cmd_get_domain(vc_cmd_h vc_command, int* domain); /** * @brief Remove all commands from command list. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @param[in] vc_cmd_list The command list handle * @param[in] free_command The command free option @c true = release each commands in list, diff --git a/include/voice_control_common.h b/include/voice_control_common.h index 400dce9..a2b4c53 100644 --- a/include/voice_control_common.h +++ b/include/voice_control_common.h @@ -35,7 +35,7 @@ extern "C" /** * @brief Enumeration for error codes. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef enum { VC_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -64,7 +64,7 @@ typedef enum { /** * @brief Enumeration for result event. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef enum { VC_RESULT_EVENT_RESULT_SUCCESS = 0, /**< Normal result */ @@ -74,7 +74,7 @@ typedef enum { /** * @brief Enumeration for service state. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef enum { VC_SERVICE_STATE_NONE = 0, /**< 'None' state */ @@ -86,7 +86,7 @@ typedef enum { /** * @brief Enumeration for client state. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef enum { VC_STATE_NONE = 0, /**< 'None' state */ @@ -147,7 +147,7 @@ typedef enum { /** * @brief Called when client gets the recognition result. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @remarks If the duplicated commands are recognized, the event(e.g. #VC_RESULT_EVENT_REJECTED) of command may be rejected * for selecting command as priority. If you set similar or same commands or the recognized results are multi-results, * vc_cmd_list has the multi commands. @@ -163,7 +163,7 @@ typedef void (*vc_result_cb)(vc_result_event_e event, vc_cmd_list_h vc_cmd_list, /** * @brief Called when default language is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] previous Previous language * @param[in] current Current language * @param[in] user_data The user data passed from the callback registration function @@ -175,7 +175,7 @@ typedef void (*vc_current_language_changed_cb)(const char* previous, const char* /** * @brief Called to retrieve supported language. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] language A language is specified as an ISO 3166 alpha-2 two letter country-code * followed by ISO 639-1 for the two-letter language code. * For example, "ko_KR" for Korean, "en_US" for American English @@ -189,7 +189,7 @@ typedef bool (*vc_supported_language_cb)(const char* language, void* user_data); /** * @brief Called when the state of voice control client is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] previous A previous state * @param[in] current A current state * @param[in] user_data The user data passed from the callback registration function @@ -201,7 +201,7 @@ typedef void (*vc_state_changed_cb)(vc_state_e previous, vc_state_e current, voi /** * @brief Called when the state of voice control service is changed. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] previous A previous state * @param[in] current A current state * @param[in] user_data The user data passed from the callback registration function @@ -213,7 +213,7 @@ typedef void (*vc_service_state_changed_cb)(vc_service_state_e previous, vc_serv /** * @brief Called when error occurred. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @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 * @pre An application registers this callback to detect error. diff --git a/include/voice_control_setting.h b/include/voice_control_setting.h index 89ae6fa..89b9bd7 100644 --- a/include/voice_control_setting.h +++ b/include/voice_control_setting.h @@ -79,7 +79,7 @@ typedef void (*vc_setting_engine_changed_cb)(const char* engine_id, void *user_d /** * @brief Called to retrieve supported language. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @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 @@ -94,7 +94,7 @@ typedef bool(*vc_setting_supported_language_cb)(const char* language, void* user /** * @brief Called when default language is changed. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 * * @param[in] previous Previous language * @param[in] current Current language diff --git a/include/voice_control_widget.h b/include/voice_control_widget.h index 93c3e4c..8766f6b 100644 --- a/include/voice_control_widget.h +++ b/include/voice_control_widget.h @@ -37,7 +37,7 @@ extern "C" /** * @brief Definitions for widget command type. -* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif +* @since_tizen 2.4 */ #define VC_COMMAND_TYPE_WIDGET 3 -- 2.7.4