From cd29088ed2aabfb2f1440f9512b9d52c5f798022 Mon Sep 17 00:00:00 2001 From: aibingbing Date: Thu, 27 Jun 2024 16:30:16 +0800 Subject: [PATCH] =?UTF-8?q?[650]=20refactor:=20=E9=80=9A=E7=94=A8=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E5=BC=B9=E6=A1=86caller=20=E8=B0=83=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E8=B0=83=E7=94=A8=E8=80=85=E8=87=AA?= =?UTF-8?q?=E5=B7=B1=E8=AE=BE=E7=BD=AEeventId;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...CallerRoadV2NEventWindowListenerManager.kt | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/hmi/CallerRoadV2NEventWindowListenerManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/hmi/CallerRoadV2NEventWindowListenerManager.kt index b419757309..d159883d1d 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/hmi/CallerRoadV2NEventWindowListenerManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/hmi/CallerRoadV2NEventWindowListenerManager.kt @@ -3,14 +3,25 @@ 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 java.util.UUID /** * 路侧V2N事件弹框 调用者管理类 */ object CallerRoadV2NEventWindowListenerManager : CallerBase() { + /** + * 通用事件弹框,通过caremaIp, lon , lat请求查询拉流地址 + * @param eventId 调用者设置唯一的事件 ID + * @param timestamp 事件发生的时间 + * @param iconResId 事件icon drawable id + * @param hintStr 事件提示str + * @param isNeedTTS show时是否需要同步tts + * @param cameraIp 摄像头 IP + * @param lon 事件发生经度 + * @param lat 事件发生维度 + */ fun show( + eventId: String, timestamp: Long, iconResId: Int, hintStr: String, @@ -18,10 +29,9 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase