This commit is contained in:
wangcongtao
2020-01-10 11:51:57 +08:00
parent 8decd42f67
commit 5510ecd57f
11 changed files with 88 additions and 20 deletions

View File

@@ -53,6 +53,13 @@ public interface IMogoStatusManager extends IProvider {
*/
boolean isUserInteracted();
/**
* 用户是否在搜索
*
* @return
*/
boolean isSearchUIShow();
/**
* 设置小智语音UI状态
*
@@ -102,6 +109,11 @@ public interface IMogoStatusManager extends IProvider {
*/
void setUserInteractionStatus( String tag, boolean interrupt, boolean callback );
/**
* 搜索页面显示状态
*/
void setSearchUIShow( String tag, boolean isShow );
/**
* 注册监听
*

View File

@@ -36,5 +36,10 @@ public enum StatusDescriptor {
/**
* 用户交互状态
*/
USER_INTERACTED
USER_INTERACTED,
/**
* 搜索页面
*/
SEARCH_UI;
}