事件只展示不播报设置

This commit is contained in:
liujing
2020-09-22 15:35:45 +08:00
parent d1a77dc8ec
commit 5c5697fe3f
3 changed files with 22 additions and 6 deletions

View File

@@ -24,6 +24,9 @@ public class V2XRoadEventEntity implements Serializable {
private MarkerExploreWay noveltyInfo;
// tts 提示
private String tts;
//是否播报tts
private boolean onlyShow = false;
// ADAS 展示文案
private String alarmContent;
// 距离当前车辆的距离
@@ -173,6 +176,14 @@ public class V2XRoadEventEntity implements Serializable {
this.tts = tts;
}
public boolean isOnlyShow() {
return onlyShow;
}
public void setOnlyShow(boolean onlyShow) {
this.onlyShow = onlyShow;
}
public boolean isShowEventButton() {
return isShowEventButton;
}