[6.5.0] refactor: 通用弹框增加tts 文案设置;
This commit is contained in:
@@ -21,13 +21,15 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
* @param iconResId 事件icon drawable id
|
||||
* @param hintStr 事件提示str
|
||||
* @param isNeedTTS show时是否需要同步tts
|
||||
* @param ttsStr tts的文案
|
||||
*/
|
||||
fun showText(
|
||||
eventId: String,
|
||||
timestamp: Long,
|
||||
iconResId: Int,
|
||||
hintStr: String,
|
||||
isNeedTTS: Boolean
|
||||
isNeedTTS: Boolean,
|
||||
ttsStr: String = ""
|
||||
) {
|
||||
val data = RoadV2NEventWindowBean(
|
||||
RoadV2NEventType.TEXT,
|
||||
@@ -36,6 +38,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
iconResId,
|
||||
hintStr,
|
||||
isNeedTTS,
|
||||
ttsStr,
|
||||
"",
|
||||
"",
|
||||
0.0,
|
||||
@@ -55,6 +58,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
* @param iconResId 事件icon drawable id
|
||||
* @param hintStr 事件提示str
|
||||
* @param isNeedTTS show时是否需要同步tts
|
||||
* @param ttsStr tts的文案
|
||||
* @param contentImageUrl 内容部分图片 url
|
||||
*/
|
||||
fun showImage(
|
||||
@@ -63,6 +67,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
iconResId: Int,
|
||||
hintStr: String,
|
||||
isNeedTTS: Boolean,
|
||||
ttsStr: String = "",
|
||||
contentImageUrl: String
|
||||
) {
|
||||
val data = RoadV2NEventWindowBean(
|
||||
@@ -72,6 +77,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
iconResId,
|
||||
hintStr,
|
||||
isNeedTTS,
|
||||
ttsStr,
|
||||
contentImageUrl,
|
||||
"",
|
||||
0.0,
|
||||
@@ -91,6 +97,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
* @param iconResId 事件icon drawable id
|
||||
* @param hintStr 事件提示str
|
||||
* @param isNeedTTS show时是否需要同步tts
|
||||
* @param ttsStr tts的文案
|
||||
* @param cameraIp 摄像头 IP
|
||||
* @param lon 事件发生经度
|
||||
* @param lat 事件发生维度
|
||||
@@ -101,6 +108,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
iconResId: Int,
|
||||
hintStr: String,
|
||||
isNeedTTS: Boolean,
|
||||
ttsStr: String = "",
|
||||
cameraIp: String,
|
||||
lon: Double,
|
||||
lat: Double
|
||||
@@ -112,6 +120,7 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
iconResId,
|
||||
hintStr,
|
||||
isNeedTTS,
|
||||
ttsStr,
|
||||
"",
|
||||
cameraIp,
|
||||
lon,
|
||||
|
||||
Reference in New Issue
Block a user