Update year information of license boilerplate
[platform/core/uifw/multi-assistant-service.git] / inc / multi_wakeup_recognizer.h
1 /*
2  * Copyright 2018-2019 Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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
7  *
8  * http://floralicense.org/license/
9  *
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.
15  */
16
17
18 #ifndef _MULTI_WAKEUP_RECOGNIZER_H_
19 #define _MULTI_WAKEUP_RECOGNIZER_H_
20
21 #include <dlog/dlog.h>
22
23 #include <multi_assistant_common.h>
24 #include <multi_assistant_service.h>
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 typedef void (*wakeup_service_wakeup_event_cb)(mas_wakeup_event_info wakeup_info, const char* wakeup_word, void* user_data);
31
32 typedef void (*wakeup_service_speech_streaming_cb)(mas_speech_streaming_event_e event, unsigned char* buffer, int len, void *user_data);
33
34 typedef void (*wakeup_service_speech_status_cb)(mas_speech_status_e status, void *user_data);
35
36 typedef void (*wakeup_service_setting_changed_cb)(void *user_data);
37
38 typedef void (*wakeup_service_error_cb)(int error, const char* err_msg, void* user_data);
39
40 typedef void (*wakeup_service_streaming_section_changed_cb)(ma_audio_streaming_data_section_e section, void* user_data);
41
42 typedef void (*wakeup_service_wakeup_engine_command_cb)(mas_wakeup_engine_command_target_e target, const char* assistant_name, const char* command, void* user_data);
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif /* _MULTI_WAKEUP_RECOGNIZER_H_ */