[Feat]新增全览模式地图显示、隐藏接口

This commit is contained in:
chenfufeng
2022-07-19 17:01:31 +08:00
parent 1c77390867
commit 41f9a961e4
3 changed files with 20 additions and 0 deletions

View File

@@ -888,6 +888,14 @@ import kotlin.collections.ArrayList
dismissToolsFloatView()
}
override fun showSmallFragment() {
// TODO:("展示全览模式地图")
}
override fun hideSmallFragment() {
// TODO:("隐藏全览模式地图")
}
private fun showCameraList(cameraList: List<CameraEntity>?) {
context?.let {
if (cameraViewFloat == null) {

View File

@@ -186,6 +186,10 @@ interface IMoGoWaringProvider : IMoGoHmiViewProxy {
fun hideToolsView()
fun showSmallFragment()
fun hideSmallFragment()
/**
* 展示转向灯
*/

View File

@@ -301,6 +301,14 @@ object CallerHmiManager : CallerBase() {
waringProviderApi?.hideToolsView()
}
fun showSmallFragment() {
waringProviderApi?.showSmallFragment()
}
fun hideSmallFragment() {
waringProviderApi?.hideSmallFragment()
}
/**
*注册工控机升级提示圆点View的回调
* @param 提示圆点View