This commit is contained in:
wangcongtao
2020-03-27 17:24:47 +08:00
parent df3e26615f
commit 7a86206fd7
20 changed files with 208 additions and 83 deletions

View File

@@ -77,6 +77,13 @@ public interface IMogoStatusManager extends IProvider {
*/
boolean isMainPageOnResume();
/**
* 小智语音是否准备完毕
*
* @return
*/
boolean isAIAssistReady();
/**
* 设置小智语音UI状态
*
@@ -151,6 +158,14 @@ public interface IMogoStatusManager extends IProvider {
*/
void setMainPageResumeStatus( String tag, boolean resume );
/**
* 设置小智语音状态
*
* @param tag
* @param ready
*/
void setAIAssistReady( String tag, boolean ready );
/**
* 注册监听
*

View File

@@ -54,5 +54,10 @@ public enum StatusDescriptor {
/**
* 主页 resume 状态
*/
MAIN_PAGE_RESUME;
MAIN_PAGE_RESUME,
/**
* 小智语音状态
*/
AI_ASSIST_READY;
}