[650]feat: 通用事件弹框,增加日志打印和相关埋点;
This commit is contained in:
@@ -3,12 +3,15 @@ package com.mogo.eagle.core.function.call.hmi
|
||||
import com.mogo.eagle.core.data.v2x.RoadV2NEventWindowBean
|
||||
import com.mogo.eagle.core.function.api.hmi.v2n.IRoadV2NEventWindowListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger
|
||||
|
||||
/**
|
||||
* 路侧V2N事件弹框 调用者管理类
|
||||
*/
|
||||
object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowListener>() {
|
||||
|
||||
const val TAG = "CallerRoadV2NEventWindowListenerManager"
|
||||
|
||||
/**
|
||||
* 通用事件弹框,通过caremaIp, lon , lat请求查询拉流地址
|
||||
* @param eventId 调用者设置唯一的事件 ID
|
||||
@@ -44,6 +47,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
val listener = it.value
|
||||
listener.show(data)
|
||||
}
|
||||
CallerLogger.i(TAG, "show ${data.toString()}")
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,5 +61,6 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
eventId
|
||||
)
|
||||
}
|
||||
CallerLogger.i(TAG, "dismiss eventId=$eventId")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user