分离Record回调监听管理。
以后这种监听没有特定关系的均需要单独管理

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-04-06 19:32:18 +08:00
parent e1508a3f0f
commit 2b4b2f2119
13 changed files with 127 additions and 74 deletions

View File

@@ -1,7 +1,6 @@
package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
import record_cache.RecordPanelOuterClass
/**
* @author xiaoyuzhou
@@ -24,9 +23,4 @@ interface IMoGoAutopilotIdentifyListener {
*/
fun onAutopilotWarnMessage(warn: MessagePad.Warn?) {}
/**
* 采集结果回调
*/
fun onAutopilotRecordResult(recordPanel: RecordPanelOuterClass.RecordPanel) {}
}

View File

@@ -0,0 +1,17 @@
package com.mogo.eagle.core.function.api.autopilot
import record_cache.RecordPanelOuterClass
/**
* @author xiaoyuzhou
* @date 2021/11/1 5:57 下午
* 采集结果回调
*/
interface IMoGoAutopilotRecordListener {
/**
* 采集结果回调
*/
fun onAutopilotRecordResult(recordPanel: RecordPanelOuterClass.RecordPanel) {}
}