Baji_Rtc_Toy_Key/main/dzbj/ai_chat_ui.h
Rdzleo dbdd304905 代码初始化:
本项目为触摸版项目代码复制而来,基于此版本进行按键功能的适配!
2026-03-23 11:14:56 +08:00

29 lines
632 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _AI_CHAT_UI_H_
#define _AI_CHAT_UI_H_
#ifdef __cplusplus
extern "C" {
#endif
// 创建并加载 AI 对话屏幕
void ai_chat_screen_init(void);
// 更新状态文本(如 "Listening...", "Speaking..."
void ai_chat_set_status(const char* status);
// 更新情绪指示(改变指示圆点颜色)
void ai_chat_set_emotion(const char* emotion);
// 更新聊天消息(预留接口)
void ai_chat_set_chat_message(const char* role, const char* content);
// 恢复 GIF 动画播放(开机音频播放完成后调用)
void ai_chat_resume_animation(void);
#ifdef __cplusplus
}
#endif
#endif // _AI_CHAT_UI_H_