[2.13.0_feat]消息盒子数据中心管理各类消息
This commit is contained in:
@@ -99,6 +99,11 @@ interface IMoGoWaringProvider : IMoGoHmiViewProxy {
|
||||
*/
|
||||
fun showWarningV2X(v2xType: String, alertContent: CharSequence?, ttsContent: String?, tag: String?, listener: IMoGoWarningStatusListener?, playTts: Boolean, expireTime: Long)
|
||||
|
||||
/**
|
||||
* 不展示顶部弹窗,其它保留
|
||||
*/
|
||||
fun warningV2X(v2xType: String, alertContent: CharSequence?, ttsContent: String?, tag: String?, listener: IMoGoWarningStatusListener?, playTts: Boolean, expireTime: Long)
|
||||
|
||||
/**
|
||||
* 关闭指定floatTag 的 VR下V2X预警弹窗
|
||||
* @param tag 弹窗标识
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.mogo.eagle.core.function.api.msgbox
|
||||
|
||||
import android.content.Context
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
|
||||
@@ -7,16 +8,22 @@ interface IMsgBoxProvider: IMoGoFunctionServerProvider {
|
||||
fun saveMsg(bean: MsgBoxBean)
|
||||
|
||||
/**
|
||||
* 通知消息:V2X、云公告、运营信息
|
||||
* 获取本地数据库缓存的通知消息:V2X、云公告、运营信息
|
||||
*/
|
||||
fun getNotifyData(): List<MsgBoxBean>
|
||||
fun getCachedNotifyData(): List<MsgBoxBean>
|
||||
/**
|
||||
* 工控机Report信息
|
||||
* 获取本地数据库缓存的工控机Report信息
|
||||
*/
|
||||
fun getSysInfoData(): List<MsgBoxBean>
|
||||
fun getCachedSysInfoData(): List<MsgBoxBean>
|
||||
|
||||
/**
|
||||
* 录包信息
|
||||
* 获取本地数据库缓存的录包信息
|
||||
*/
|
||||
fun getRecordBagData(): List<MsgBoxBean>
|
||||
fun getCachedRecordBagData(): List<MsgBoxBean>
|
||||
|
||||
fun removeRecordInfo(key: String, value: Any)
|
||||
|
||||
fun deleteBoxBean(context: Context, msgBoxBean: MsgBoxBean)
|
||||
|
||||
fun getDismissTime(): Long
|
||||
}
|
||||
Reference in New Issue
Block a user