This commit is contained in:
wangcongtao
2020-04-08 10:10:45 +08:00
parent f4785c5305
commit c9d5d60681
3 changed files with 11 additions and 2 deletions

View File

@@ -78,6 +78,14 @@ public class AIAssist implements VoiceClient.VoiceCmdCallBack {
mHasFlush = isVoiceServiceReady( context );
}
/**
* 是否语音注册成功
* @return
*/
public boolean hasFlush() {
return mHasFlush;
}
@Override
public void onCmdSelected( String cmd ) {
if ( !mCmdMap.containsKey( cmd ) ) {