思必驰实现道路事件上报免唤醒转唤醒

This commit is contained in:
tongchenfei
2020-08-26 16:24:08 +08:00
parent af819a4241
commit 999b59fed7
15 changed files with 204 additions and 169 deletions

View File

@@ -32,6 +32,7 @@ import com.mogo.service.statusmanager.IMogoMsgCenter;
import com.mogo.service.statusmanager.IMogoStatusManager;
import com.mogo.service.strategy.IMogoRefreshStrategyController;
import com.mogo.service.tanlu.IMogoTanluProvider;
import com.mogo.service.tanlu.IMogoTanluUiProvider;
import com.mogo.service.windowview.IMogoTopViewManager;
import com.mogo.service.windowview.IMogoWindowManager;
@@ -257,4 +258,9 @@ public interface IMogoServiceApis extends IProvider {
* @return
*/
IMogoMonitorProvider getMogoMonitorApi();
/**
* 获取探路ui服务
* @return
*/
IMogoTanluUiProvider getTanluUiApi();
}

View File

@@ -244,4 +244,10 @@ public class MogoServicePaths {
*/
@Deprecated
public static final String PATH_STRATEGY_SHARE = "/share/strategy";
/**
* 探路ui
*/
@Deprecated
public static final String PATH_TANLU_UI_API = "/tanlu/ui";
}

View File

@@ -0,0 +1,19 @@
package com.mogo.service.tanlu;
import com.alibaba.android.arouter.facade.template.IProvider;
/**
* 探路相关ui provider
*
* @author tongchenfei
*/
public interface IMogoTanluUiProvider extends IProvider {
/**
* 搜索道路事件接口,当前只在应用在后台时,收到搜索相关唤醒词指令,需跳转前台时使用
* @param intentStr action
* @param data 思必驰相关事件
* @param city 同行者-xx堵不堵-北京
* @param keywords 同行者-xx堵不堵-中关村
*/
void searchRoadCondition(String intentStr, String data, String city, String keywords);
}