int16_t GetCurrentView() const;
int16_t GetCurrentSubView() const;
+
+ // 跳转到上一个界面
+ bool GoBackToPreviousView();
void UpdateBatteryProcess();
bool SwitchVideo(const char *uri);
// 切换头发贴图
void SwitchHair(const char *hairPath);
+ // 获取是否开启屏保模式
+ bool GetIsOpenScreenImageModel(void);
+ // 切换iconView图片接口
+ void SwitchIconImage(const char *imagePath);
+ // 切换屏保模式接口
+ bool OpenScreenImageModel(void);
+ // 关闭屏保模式接口
+ bool CloseScreenImageModel(void);
// 关机前关闭视频与相关资源
void CloseVideo();
// 打开遮罩(部分视图需要)
bool wasCharging{false};
bool notifiedChargeFull{false};
+ bool IsOpenScreenImageModel_{false}; // 是否开启屏保模式
+
// 各子界面对象指针
// OTA界面已独立为slice,不再需要此指针
ThunderBirdGuideView *g_pThunderBirdGuideView{nullptr};
void HandleChatStaminaChange(int chatLeft, const char* chatDesc, int flowLeft,
const char* flowDesc, const char* qrcodeUrl);
+ // 屏保图片下载成功处理函数
+ void HandleScreenImageDownloadSuccess();
+
+ // API错误处理函数
+ void HandleApiError(const char* message);
+
// 表情切换函数
bool SwitchExpression(const char* eyeShape, const char* eyeColor);