Merge branch 'dev_pull_unwake' into dev

This commit is contained in:
tongchenfei
2020-10-20 20:21:51 +08:00
8 changed files with 249 additions and 105 deletions

View File

@@ -260,4 +260,9 @@ public class MogoServicePaths {
* 在线好友面板
*/
public static final String PATH_ONLINE_CAR_PANEL = "/onlinecar/panel";
/**
* 全局免唤醒
*/
public static final String PATH_GLOBAL_UNWAKE = "/global/unwake";
}

View File

@@ -4,12 +4,13 @@ import android.content.Context;
import com.alibaba.android.arouter.facade.template.IProvider;
import com.mogo.service.module.IMogoModuleProvider;
import com.mogo.service.voice.IMogoGlobalVoiceManager;
/**
* 分享框管理接口
* @author tongchenfei
*/
public interface IMogoShareManager extends IProvider {
public interface IMogoShareManager extends IProvider, IMogoGlobalVoiceManager {
/**
* 显示分享框
*/

View File

@@ -0,0 +1,16 @@
package com.mogo.service.voice;
import android.content.Intent;
/**
* 全局免唤醒指令处理监听
*
* @author tongchenfei
*/
public interface IMogoGlobalVoiceManager {
/**
* 收到全局免唤醒指令和唤醒词指令
* @param cmd 具体指令
*/
void onGlobalUnwake(String cmd, Intent intent);
}