[Feat]全览模式展示新基建图标
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
package com.mogo.eagle.core.function.api.monitoring;
|
||||
|
||||
import com.mogo.eagle.core.data.camera.CameraEntity;
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
* @date 2021/10/29 10:35 上午
|
||||
* 超视距功能,路测摄像头,前车摄像头监控
|
||||
*/
|
||||
public interface IMoGoMonitoringProvider extends IMoGoFunctionServerProvider {
|
||||
List<CameraEntity> getCameraList();
|
||||
|
||||
void openCameraStream(String cameraIp);
|
||||
|
||||
/**
|
||||
* 防止回调摄像头列表View的相关调用
|
||||
*/
|
||||
void disposeCameraStream();
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.mogo.eagle.core.function.api.monitoring
|
||||
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
import com.mogo.eagle.core.data.camera.CameraEntity
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
* @date 2021/10/29 10:35 上午
|
||||
* 超视距功能,路测摄像头,前车摄像头监控
|
||||
*/
|
||||
interface IMoGoMonitoringProvider : IMoGoFunctionServerProvider {
|
||||
val cameraList: List<CameraEntity>?
|
||||
fun openCameraStream(cameraIp: String)
|
||||
fun openCameraStream(cameraIp: String, success: (String) -> Unit, error: (Throwable) -> Unit)
|
||||
/**
|
||||
* 防止回调摄像头列表View的相关调用
|
||||
*/
|
||||
fun disposeCameraStream()
|
||||
}
|
||||
Reference in New Issue
Block a user