com.supermap.ar.areffect
Class CameraRecordControl.TaskManager
- java.lang.Object
-
- com.supermap.ar.areffect.CameraRecordControl.TaskManager
-
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- CameraRecordControl
public static class CameraRecordControl.TaskManager extends java.lang.Object implements java.lang.Runnable
CameraWindowRenderer
Refresh managerUse a singleton to manage all the refresh CameraWindowRenderer The advantage of this is that when multiple camerawindowrenderers are present,Unified refresh,Avoid stalling caused by multiple Timer updates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interface
CameraRecordControl.TaskManager.OnRefreshListener
Refresh the monitor
-
Constructor Summary
Constructors Constructor and Description TaskManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static CameraRecordControl.TaskManager
getInstance()
Gets the instancevoid
run()
void
setOnRefreshListener(CameraRecordControl.TaskManager.OnRefreshListener onRefreshListener)
Set refresh listening
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
setOnRefreshListener
public void setOnRefreshListener(CameraRecordControl.TaskManager.OnRefreshListener onRefreshListener)
Set refresh listening- Parameters:
onRefreshListener
-CameraRecordControl.TaskManager.OnRefreshListener
-
getInstance
public static CameraRecordControl.TaskManager getInstance()
Gets the instance- Returns:
-
-