2 * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd All Rights Reserved
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 * http://www.apache.org/licenses/LICENSE-2.0
7 * Unless required by applicable law or agreed to in writing, software
8 * distributed under the License is distributed on an "AS IS" BASIS,
9 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 * See the License for the specific language governing permissions and
11 * limitations under the License.
25 int stt_dbus_open_connection();
27 int stt_dbus_close_connection();
30 int stt_dbus_request_hello();
32 int stt_dbus_request_initialize(int uid, bool* silence_supported, bool* profanity_supported, bool* punctuation_supported);
34 int stt_dbus_request_finalize(int uid);
36 int stt_dbus_request_get_support_langs(int uid, stt_h stt, stt_supported_language_cb callback, void* user_data);
38 int stt_dbus_request_get_default_lang(int uid, char** language);
40 int stt_dbus_request_is_partial_result_supported(int uid, bool* partial_result);
42 int stt_dbus_request_start(int uid, const char* lang, const char* type, int profanity, int punctuation, int silence);
44 int stt_dbus_request_stop(int uid);
46 int stt_dbus_request_cancel(int uid);
53 #endif /* __STT_DBUS_H_ */