[2.13.2-v2x] add new func of road event from telemetics

This commit is contained in:
zhongchao
2022-12-19 18:11:57 +08:00
parent 00ba93371e
commit 2842782f82
11 changed files with 201 additions and 94 deletions

View File

@@ -0,0 +1,18 @@
package com.mogo.eagle.core.function.call.map
import com.alibaba.android.arouter.launcher.ARouter
import com.mogo.eagle.core.data.constants.MogoServicePaths.PATH_IDENTIFY
import com.mogo.eagle.core.function.api.map.marker.IMoGoIdentifyListener
import com.mogo.eagle.core.function.call.base.CallerBase
import mogo.telematics.pad.MessagePad
object CallerMapIdentifyManager : CallerBase() {
private val identifyApi: IMoGoIdentifyListener
get() = ARouter.getInstance().build(PATH_IDENTIFY)
.navigation() as IMoGoIdentifyListener
fun getIdentifyObj(uuid: String): MessagePad.TrackedObject? {
return identifyApi.getIdentifyObj(uuid)
}
}