2 * Copyright (c) 2011-2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 #include "voice_control_common.h"
27 int vc_tidl_open_connection();
29 int vc_tidl_close_connection();
32 int vc_tidl_request_hello();
34 int vc_tidl_request_hello_sync();
36 int vc_tidl_request_initialize(int pid, int* mgr_pid, int* service_state, int* daemon_pid);
38 int vc_tidl_request_finalize(int pid);
40 int vc_tidl_request_set_command(int pid, vc_cmd_type_e cmd_type);
42 int vc_tidl_request_unset_command(int pid, vc_cmd_type_e cmd_type);
44 int vc_tidl_request_set_foreground(int pid, bool value);
46 int vc_tidl_request_set_server_dialog(int pid, const char* app_id, const char* credential);
48 int vc_tidl_request_request_dialog(int pid, const char* disp_text, const char* utt_text, bool continuous);
50 int vc_tidl_request_is_system_command_valid(int pid, bool* is_sys_cmd_valid);
53 int vc_tidl_request_start(int pid, int silence);
55 int vc_tidl_request_stop(int pid);
57 int vc_tidl_request_cancel(int pid);
59 int vc_tidl_request_set_exclusive_command(int pid, bool value);
63 int vc_tidl_request_auth_enable(int pid, int mgr_pid);
65 int vc_tidl_request_auth_disable(int pid, int mgr_pid);
67 int vc_tidl_request_auth_start(int pid, int mgr_pid);
69 int vc_tidl_request_auth_stop(int pid, int mgr_pid);
71 int vc_tidl_request_auth_cancel(int pid, int mgr_pid);
75 int vc_tidl_request_request_tts(int pid, const char* text, const char* language, bool to_vcm, int* utt_id);
77 int vc_tidl_request_cancel_tts(int pid, int utt_id);
79 int vc_tidl_request_get_tts_audio_format(int pid, int* rate, vc_audio_channel_e* channel, vc_audio_type_e* audio_type);
85 #endif /* __VC_TIDL_H_ */